CannonWorld Op

CannonWorld

start/configure a world with physics simulation


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.


Edit Documentation
Full Name
  • Ops.Extension.CannonJs.CannonWorld
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorMaintained by TeamJavascript Libraries


INPUT PORTS


Exec (Trigger)
Reset (Trigger)

reset all contents of a physics world

Draw Bodies (Number:boolean )

draw collision cages around your physics bodies assigned under the World

Groundplane (Number:boolean )

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 (Number:integer )
Contact Stiffness (Number:integer )
Contact Relaxation (Number:integer )
Simulate (Number:boolean )

toggle physics simulation

OUTPUT PORTS


next (Trigger)
Num Bodies (Number)

number of total physics bodies in this world.


Patches using CannonWorld

  • Examples
  • Public
  • My Patches

Changelog


added core lib: cgl_WireframeMeshesuser avatarpandur - 2020-06-30 08:29
added core lib: cgl_wireframesuser avatarpandur - 2020-06-30 08:38
Ops.Exp.Gl.Physics.World renamed to Ops.Physics.Worlduser avatarpandur - 2020-07-30 09:15
Ops.Physics.World renamed to Ops.Physics.Cannon.CannonWorlduser avatarpandur - 2022-06-07 08:56
Ops.Physics.Cannon.CannonWorld renamed to Ops.Deprecated.Physics.Cannon.CannonWorlduser avatarpandur - 2022-12-14 09:43