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

AmmoEmitter Op

Ops.Physics.Ammo.AmmoEmitter


AmmoEmitter
Namespace: Ops.Physics.Ammo

Op author: pandur

Emit Ammo physics bodies by triggering


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.



Inputs

Exec (Trigger)
Limit Bodies (integer /Number)

maximum number of bodies to create

Radius (Number)

radius of spherical emitted body

Mass (Number)

mass of emitted body

Add index to name (boolean /Number)
Name (String)

name for your emitted bodies

Friction (Number)

friction of emitted object surface

Rolling Friction (Number)

influence roll of emitted object after collision

Restitution (Number)

influence velocity of object after collision (bounciness)

Dir X (Number)

initial velocity on X axis

Dir Y (Number)

initial velocity on Y axis

Dir Z (Number)

initial velocity on Z axis

Speed (Number)

speed multiplier

Spawn One (Trigger)

trigger to emit a physics body

Remove All (Trigger)

remove all bodies

Activate All (Trigger)

activate (wake up) physics simulation for all bodies

Remove Y<-100 (boolean /Number)

if object is below 100 units, remove from array

Outputs

Next (Trigger)
Total Bodies (Number)

current count of emitted bodies

Positions (Array)

array of XYZ positions

Rotations Quats (Array)

array of quaternion rotations of each object

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Example: AmmoEmitter

Open Example In Editor

Patches using AmmoEmitter

Changelog


created op
2022-05-18 - pandur
Ops.User.pandur.AmmoEmitter renamed to Ops.Physics.Ammo.AmmoEmitter
2022-05-18 - pandur