The list of a rigid body's motion types.

Static variables

@:value(_DYNAMIC)staticread onlyDYNAMIC:Int = _DYNAMIC

Represents a dynamic rigid body. A dynamic rigid body has finite mass (and usually inertia tensor). The rigid body is affected by gravity, or by constraints the rigid body is involved.

@:value(_KINEMATIC)staticread onlyKINEMATIC:Int = _KINEMATIC

Represents a kinematic rigid body. A kinematic rigid body is similar to a static one, except that it can have non-zero linear and angular velocities. This is useful for overlapping rigid bodies to pre-computed motions.

@:value(_STATIC)staticread onlySTATIC:Int = _STATIC

Represents a static rigid body. A static rigid body has zero velocities and infinite mass and inertia tensor. The rigid body is not affected by any force or impulse, such as gravity, constraints, or external forces or impulses added by an user.