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

CannonWorld Op

Ops.Physics.Cannon.CannonWorld


CannonWorld

Op author: pandur

Uses library: cannonjs (physics library)

start/configure a world with physics simulation


summary (oneliner)

World operator is a container for a physics simulation and/or your Cast Ray setup for 3D navigation. After adjusting your simulation settings, you will need to reset the World to have the new settings take effect.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Exec (Trigger)

Reset (Trigger)

reset all contents of a physics world


Draw Bodies (boolean /Number)

draw collision cages around your physics bodies assigned under the World


Groundplane (boolean /Number)

add a quick groundplane to your world - it is located at 0,0,0 and is invisible


Gravity X (Number)

Gravity Y (Number)

Gravity Z (Number)

Solver Iterations (integer /Number)

Contact Stiffness (integer /Number)

Contact Relaxation (integer /Number)

Simulate (boolean /Number)

toggle physics simulation


Outputs

next (Trigger)

Num Bodies (Number)

number of total physics bodies in this world.


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Patches using CannonWorld

Changelog


added core lib: cgl_WireframeMeshes
2020-06-30 - pandur

added core lib: cgl_wireframes
2020-06-30 - pandur

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

Ops.Physics.World renamed to Ops.Physics.Cannon.CannonWorld
2022-06-07 - pandur