AmmoBodyCollision Op
extension op - visible to all usersCheck if 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.
Using the "Match" options you can get multiple collisions or collisions of groups (i.e. some ball collides with the southern wall).
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
execute operation
name of physics object
match name 1
name of physics object (optional)
match name 2 (if set)
Outputs
next
collision detected (Boolean)
number of collisions
array of collision objects
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 | |
add matching parameters to name1/name2 2022-10-04 - stephan | |
rename | Ops.Physics.Ammo.AmmoBodyCollision renamed to Ops.Extension.AmmoPhysics.AmmoBodyCollision 2023-09-14 - pandur |