AmmoBodyCollision Op
Check if physics bodies are colliding
Summary (oneliner)
<p>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).</p>
- Ops.Extension.AmmoPhysics.AmmoBodyCollision
- Extension Op - Visible to all users
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch AmmoBodyCollision Example
INPUT PORTS
<p>execute operation</p>
<p>name of physics object</p>
<i>integer</i>
)<p>match name 1</p>
<p>name of physics object (optional)</p>
<i>integer</i>
)<p>match name 2 (if set)</p>
OUTPUT PORTS
<p>next</p>
<p>collision detected (Boolean)</p>
<p>number of collisions</p>
<p>array of collision objects</p>
Patches using AmmoBodyCollision
Changelog
created op | pandur - 2022-04-01 14:44 | |
Ops.User.pandur.AmmoBodyCollision renamed to Ops.Dev.AmmoBodyCollision | pandur - 2022-04-01 16:38 | |
Ops.Dev.AmmoBodyCollision renamed to Ops.Physics.Ammo.AmmoBodyCollision | pandur - 2022-05-09 11:51 | |
add matching parameters to name1/name2 | stephan - 2022-10-04 15:49 | |
rename | Ops.Physics.Ammo.AmmoBodyCollision renamed to Ops.Extension.AmmoPhysics.AmmoBodyCollision | pandur - 2023-09-14 09:38 |