CannonPhysicsSphere_v2 Op
This op is deprecated!
It will not receive any updatesPhysical Sphere Body
Summary (oneliner)
Create a physics body in the shape of sphere, can be used with the cast ray op and other physics ops
Full Name
- Ops.Extension.CannonJs.Deprecated.CannonPhysicsSphere_v2
- Extension Op - Visible to all users
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Physics Sphere Example
This example uses a physics sphere that can be bounced by clicking on it.
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 (booleanNumber)
Outputs true if a ray hits
Collision (Trigger)
Trigger out when colliding with another physics object
Patches using CannonPhysicsSphere_v2
Changelog
created op | pandur - 2019-03-14 19:17 | |
Ops.Exp.Gl.Physics.Body.Sphere_v2 renamed to Ops.Exp.Gl.Physics.Body.BodySphere_v2 | pandur - 2019-06-13 10:15 | |
Ops.Exp.Gl.Physics.Body.BodySphere_v2 renamed to Ops.Exp.Gl.Physics.Body.PhysicsSphere_v2 | pandur - 2019-06-13 10:17 | |
Ops.Exp.Gl.Physics.Body.PhysicsSphere_v2 renamed to Ops.Physics.Body.PhysicsSphere_v2 | pandur - 2020-07-30 09:17 | |
Ops.Physics.Body.PhysicsSphere_v2 renamed to Ops.Physics.Cannon.CannonPhysicsSphere_v2 | pandur - 2022-06-07 09:10 | |
Ops.Physics.Cannon.CannonPhysicsSphere_v2 renamed to Ops.Deprecated.Physics.Cannon.CannonPhysicsSphere_v2 | pandur - 2022-12-14 09:51 | |
deprecation | op Ops.Extension.CannonJs.CannonPhysicsSphere_v2 was deprecated | pandur - 2024-10-21 13:46 |