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
EXCLUDE_FIXEDint1 << 1

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

EXCLUDE_KINEMATICint1 << 2

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

EXCLUDE_DYNAMICint1 << 3

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

EXCLUDE_SENSORSint1 << 4

Exclude from the query any collider that is a sensor.

EXCLUDE_SOLIDSint1 << 5

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

ONLY_DYNAMICintLitePhysics :: EXCLUDE_FIXEDLitePhysics :: EXCLUDE_KINEMATIC
ONLY_KINEMATICintLitePhysics :: EXCLUDE_DYNAMICLitePhysics :: EXCLUDE_FIXED
ONLY_FIXEDintLitePhysics :: EXCLUDE_DYNAMICLitePhysics :: EXCLUDE_KINEMATIC

Static Methods

Return TypeSignatureDescription
List< Intersection >cast_ray ( RayCastOptions opts )