AmmoBodyCollision Op

AmmoBodyCollision

Check if physics bodies are colliding


<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 &quot;Match&quot; options you can get multiple collisions or collisions of groups (i.e. some ball collides with the southern wall).</p>


Full Name
  • Ops.Extension.AmmoPhysics.AmmoBodyCollision
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


update (Trigger)

<p>execute operation</p>

Name 1 (String)

<p>name of physics object</p>

Match Name 1 index (Number:

<i>integer</i>

)

<p>match name 1</p>

Name 2 (String)

<p>name of physics object (optional)</p>

Match Name 2 index (Number:

<i>integer</i>

)

<p>match name 2 (if set)</p>

OUTPUT PORTS


Next (Trigger)

<p>next</p>

Colliding (Number)

<p>collision detected (Boolean)</p>

Num Collisions (Number)

<p>number of collisions</p>

Collisions (Array)

<p>array of collision objects</p>


Patches using AmmoBodyCollision

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-04-01 14:44
Ops.User.pandur.AmmoBodyCollision renamed to Ops.Dev.AmmoBodyCollisionuser avatarpandur - 2022-04-01 16:38
Ops.Dev.AmmoBodyCollision renamed to Ops.Physics.Ammo.AmmoBodyCollisionuser avatarpandur - 2022-05-09 11:51
add matching parameters to name1/name2user avatarstephan - 2022-10-04 15:49
renameOps.Physics.Ammo.AmmoBodyCollision renamed to Ops.Extension.AmmoPhysics.AmmoBodyCollisionuser avatarpandur - 2023-09-14 09:38