beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AmmoBodyCollision Op

Ops.Physics.Ammo.AmmoBodyCollision


AmmoBodyCollision
Namespace: Ops.Physics.Ammo

Op author: pandur

Check if two physics bodies are colliding


summary (oneliner)

This op will allow you to output a Boolean state change (true/false) if the specified physics objects have collided together. You may also just input a single object name and get a result whenever the object collides with any other physics object in your scene.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

update (Trigger)

execute operation


Name 1 (String)

name of physics object


Name 2 (String)

name of physics object (optional)


Outputs

Next (Trigger)

Colliding (Number)

collision detected (Boolean)


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

AmmoBodyCollision Example

Open Example In Editor


Patches using AmmoBodyCollision

Changelog


created op
2022-04-01 - pandur

Ops.User.pandur.AmmoBodyCollision renamed to Ops.Dev.AmmoBodyCollision
2022-04-01 - pandur

Ops.Dev.AmmoBodyCollision renamed to Ops.Physics.Ammo.AmmoBodyCollision
2022-05-09 - pandur