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

Cannon Op


Namespace: Ops.Physics

Op author: pandur

Uses spanbrary: cannonjs (physics library)

shoot physics objects

summary (oneliner)

Use a trigger to spawn a new physics sphere object.
This OP lives in a Physics World set by the world op ( Ops.Physics.World"> .



youtube id

caniuse query


related ops


Exec (Trigger)

connect underneath World op

Mass (Number)

Radius (Number)

Render (boolean /Number)

Pos X (Number)

spawn position - X axis location

Pos Y (Number)

spawn position - Y axis location

Pos Z (Number)

spawn position - Z axis location

dir X (Number)

direction on X axis

dir Y (Number)

direction on Y axis

dir Z (Number)

direction on Z axis

Speed (Number)

speed of spawned object towards the direction goal

Reset (Trigger)

reset cannon op

Spawn (Trigger)

spawn an object


Next (Trigger)

Out Radius (Number)

Radius of object - handy to connect to a rendered geometry

X (Number)

location of X axis last spawned object

Y (Number)

location on Y axis of last spawned object

Z (Number)

location of Z axis last spawned object

Index (Number)

spawned object index

Collision (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Cannon Op example

it shoots physics objects

Open Example In Editor


Ops.Exp.Gl.Physics.Cannon renamed to Ops.Physics.Cannon
2020-07-30 - pandur

Examples using Cannon ()

Public Patches using Cannon ()