Physics
class in Physics
Constants
Name | Type | Value | Description |
---|---|---|---|
ExcludeFixed | int | 1 << 1 | Exclude from the query any collider attached to a fixed rigid-body and colliders with no rigid-body attached. |
ExcludeKinematic | int | 1 << 2 | Exclude from the query any collider attached to a kinematic rigid-body. |
ExcludeDynamic | int | 1 << 3 | Exclude from the query any collider attached to a dynamic rigid-body. |
ExcludeSensors | int | 1 << 4 | Exclude from the query any collider that is a sensor. |
ExcludeSolids | int | 1 << 5 | Exclude from the query any collider that is not a sensor. |
OnlyDynamic | int | LitePhysics :: EXCLUDE_FIXED | LitePhysics :: EXCLUDE_KINEMATIC |
OnlyKinematic | int | LitePhysics :: EXCLUDE_DYNAMIC | LitePhysics :: EXCLUDE_FIXED |
OnlyFixed | int | LitePhysics :: EXCLUDE_DYNAMIC | LitePhysics :: EXCLUDE_KINEMATIC |
Static Methods
Return Type | Signature | Description |
---|---|---|
List< Intersection > | CastRay ( RayCastOptions opts ) |