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

PhysicsCube_v2 Op


Namespace: Ops.Physics.Body

Op author: pandur

physical body in form of a cube

summary (oneliner)

To add a Physical Cube object to your scene, it must be contained within the World operator (Ops.Physics.World) .



youtube id

caniuse query


related ops


Exec (Trigger)

Name (String)

name of this physics cube object

Mass (Number)

Mass of object. Value of 0 will cause no gravity to be applied to the object

sizeX (Number)

sizeY (Number)

sizeZ (Number)

Render (boolean /Number)

Reset (Trigger)

reset this object to original position/restart simulation for this object


Next (Trigger)

X (Number)

position of object in the world on the X axis (during simulation)

Y (Number)

position of object in the world on the Y axis (during simulation)

Z (Number)

position of object in the world on the Z axis (during simulation)

Ray Hit (boolean Number)

has a Cast Ray hit this object? for use with Cast Ray operator (Ops.Physics.CastRay)

Collision (Trigger)

trigger when collided with another object or the ground plane

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Physics Cube Example

Physics Cube that can be clicked on. Example uses a Cast Ray to check if you are clicking on the orange cube, and then applies a velocity to the object if true.

Open Example In Editor


created op
2020-06-29 - pandur

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

Examples using PhysicsCube_v2 ()

Public Patches using PhysicsCube_v2 ()