CannonPhysicsCube_v2 Op

CannonPhysicsCube

This op is deprecated!

It will not receive any updates

physical body in form of a cube


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


Edit Documentation

Full Name
  • Ops.Deprecated.Physics.Cannon.CannonPhysicsCube_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Author


 

Example Patch 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 In Editor

INPUT PORTS


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 (Number:boolean )
Reset (Trigger)

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

OUTPUT PORTS


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


Patches using CannonPhysicsCube_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2020-06-29 13:44
Ops.Exp.Gl.Physics.Body.PhysicsCube_v2 renamed to Ops.Physics.Body.PhysicsCube_v2user avatarpandur - 2020-07-30 09:16
Ops.Physics.Body.PhysicsCube_v2 renamed to Ops.Physics.CannonBody.CannonPhysicsCube_v2user avatarpandur - 2022-06-07 09:15
Ops.Physics.CannonBody.CannonPhysicsCube_v2 renamed to Ops.Physics.Cannon.Body.CannonPhysicsCube_v2user avatarpandur - 2022-06-07 09:19
Ops.Physics.Cannon.Body.CannonPhysicsCube_v2 renamed to Ops.Physics.Cannon.CannonPhysicsCube_v2user avatarpandur - 2022-06-07 09:22
Ops.Physics.Cannon.CannonPhysicsCube_v2 renamed to Ops.Deprecated.Physics.Cannon.CannonPhysicsCube_v2user avatarpandur - 2022-12-14 09:41