Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Physics

class in Physics

Constants

NameTypeValueDescription
ExcludeFixedint1 << 1

Exclude from the query any collider attached to a fixed rigid-body and colliders with no rigid-body attached.

ExcludeKinematicint1 << 2

Exclude from the query any collider attached to a kinematic rigid-body.

ExcludeDynamicint1 << 3

Exclude from the query any collider attached to a dynamic rigid-body.

ExcludeSensorsint1 << 4

Exclude from the query any collider that is a sensor.

ExcludeSolidsint1 << 5

Exclude from the query any collider that is not a sensor.

OnlyDynamicintLitePhysics :: EXCLUDE_FIXEDLitePhysics :: EXCLUDE_KINEMATIC
OnlyKinematicintLitePhysics :: EXCLUDE_DYNAMICLitePhysics :: EXCLUDE_FIXED
OnlyFixedintLitePhysics :: EXCLUDE_DYNAMICLitePhysics :: EXCLUDE_KINEMATIC

Static Methods

Return TypeSignatureDescription
List< Intersection >CastRay ( RayCastOptions opts )