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

PhysicsSphere_v2 Op

Ops.Physics.Body.PhysicsSphere_v2


PhysicsSphere

Physical 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



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

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 (boolean /Number)

Enable to render sphere to screen


Reset (Trigger)

Reset physics


Outputs

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


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Physics Sphere Example

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

Open Example In Editor


Changelog


created op
2019-03-14 - pandur

Ops.Exp.Gl.Physics.Body.Sphere_v2 renamed to Ops.Exp.Gl.Physics.Body.BodySphere_v2
2019-06-13 - pandur

Ops.Exp.Gl.Physics.Body.BodySphere_v2 renamed to Ops.Exp.Gl.Physics.Body.PhysicsSphere_v2
2019-06-13 - pandur

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

Examples using PhysicsSphere_v2 ()

Public Patches using PhysicsSphere_v2 ()