AmmoEmitter Op

AmmoEmitter

Emit Ammo physics bodies by triggering


<p>The emitter operator will create a physics object with the specified parameters including velocity and direction. You can create more than one parameter and also remove and limit the number of objects that are created.</p>


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


INPUT PORTS


Exec (Trigger)
Limit Bodies (Number:

<i>integer</i>

)

<p>maximum number of bodies to create</p>

Radius (Number)

<p>radius of spherical emitted body</p>

Mass (Number)

<p>mass of emitted body</p>

Add index to name (Number:

<i>boolean</i>

)

Name (String)

<p>name for your emitted bodies</p>

Friction (Number)

<p>friction of emitted object surface</p>

Rolling Friction (Number)

<p>influence roll of emitted object after collision</p>

Restitution (Number)

<p>influence velocity of object after collision (bounciness)</p>

Dir X (Number)

<p>initial velocity on X axis</p>

Dir Y (Number)

<p>initial velocity on Y axis</p>

Dir Z (Number)

<p>initial velocity on Z axis</p>

Speed (Number)

<p>speed multiplier</p>

Spawn One (Trigger)

<p>trigger to emit a physics body</p>

Remove All (Trigger)

<p>remove all bodies</p>

Activate All (Trigger)

<p>activate (wake up) physics simulation for all bodies</p>

Remove Y<-100 (Number:

<i>boolean</i>

)

<p>if object is below 100 units, remove from array</p>

OUTPUT PORTS


Next (Trigger)
Total Bodies (Number)

<p>current count of emitted bodies</p>

Positions (Array)

<p>array of XYZ positions</p>

Rotations Quats (Array)

<p>array of quaternion rotations of each object</p>


Patches using AmmoEmitter

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-05-18 12:01
Ops.User.pandur.AmmoEmitter renamed to Ops.Physics.Ammo.AmmoEmitteruser avatarpandur - 2022-05-18 15:04
renameOps.Physics.Ammo.AmmoEmitter renamed to Ops.Extension.AmmoPhysics.AmmoEmitteruser avatarpandur - 2023-09-14 09:38