Enumeration ActiveCollisionTypes

Flags affecting whether collision-detection happens between two colliders depending on the type of rigid-bodies they are attached to.

Enumeration Members

ALL: 60943

Enable collisions between any kind of rigid-bodies (including between two non-dynamic bodies).

DEFAULT: 15

The default active collision types, enabling collisions between a dynamic body and another body of any type, but not enabling collisions between two non-dynamic bodies.

DYNAMIC_DYNAMIC: 1

Enable collision-detection between a collider attached to a dynamic body and another collider attached to a dynamic body.

DYNAMIC_FIXED: 2

Enable collision-detection between a collider attached to a dynamic body and another collider attached to a fixed body (or not attached to any body).

DYNAMIC_KINEMATIC: 12

Enable collision-detection between a collider attached to a dynamic body and another collider attached to a kinematic body.

FIXED_FIXED: 32

Enable collision-detection between a collider attached to a fixed body (or not attached to any body) and another collider attached to a fixed body (or not attached to any body).

KINEMATIC_FIXED: 8704

Enable collision-detection between a collider attached to a kinematic body and another collider attached to a fixed body (or not attached to any body).

KINEMATIC_KINEMATIC: 52224

Enable collision-detection between a collider attached to a kinematic body and another collider attached to a kinematic body.

Generated using TypeDoc