CannonPhysicsSphere_v2 Op

CannonPhysicsSphere

This op is deprecated!

It will not receive any updates

Physical Sphere Body


Create a physics body in the shape of sphere, can be used with the cast ray op and other physics ops


Edit Documentation

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


 

Example Patch Physics Sphere Example

This example uses a physics sphere that can be bounced by clicking on it.

Open In Editor

INPUT PORTS


Exec (Trigger)

Trigger in

Name (String)
Mass (Number)

How heavy an object is, only works with gravity enabled

Radius (Number)

Radius of the sphere

Render (Number:boolean )

Enable to render sphere to screen

Reset (Trigger)

Reset physics

OUTPUT PORTS


Next (Trigger)

Trigger out

Out Radius (Number)
X (Number)

X position

Y (Number)

Y position

Z (Number)

Z position

Ray Hit (boolean Number)

Outputs true if a ray hits

Collision (Trigger)

Trigger out when colliding with another physics object


Patches using CannonPhysicsSphere_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2019-03-14 19:17
Ops.Exp.Gl.Physics.Body.Sphere_v2 renamed to Ops.Exp.Gl.Physics.Body.BodySphere_v2user avatarpandur - 2019-06-13 10:15
Ops.Exp.Gl.Physics.Body.BodySphere_v2 renamed to Ops.Exp.Gl.Physics.Body.PhysicsSphere_v2user avatarpandur - 2019-06-13 10:17
Ops.Exp.Gl.Physics.Body.PhysicsSphere_v2 renamed to Ops.Physics.Body.PhysicsSphere_v2user avatarpandur - 2020-07-30 09:17
Ops.Physics.Body.PhysicsSphere_v2 renamed to Ops.Physics.Cannon.CannonPhysicsSphere_v2user avatarpandur - 2022-06-07 09:10
Ops.Physics.Cannon.CannonPhysicsSphere_v2 renamed to Ops.Deprecated.Physics.Cannon.CannonPhysicsSphere_v2user avatarpandur - 2022-12-14 09:51