Enumeration Body

The type of rigid body for a physics component.

Enumeration Members

Enumeration Members

Attached: 0

No rigid body.

Remarks

The collider is attached to the closest ancestor's rigid body. Incompatible with Plane and Nonconvex collision geometry.

Dynamic: 1

Dynamic rigid body.

Remarks

Dynamic rigid bodies experience forces due to collisions and applied forces such as gravity. Entities with dynamic rigid bodies should not be moved directly. Instead, they should be moved by applying forces or setting their linear and/or angular velocity. Incompatible with Plane and Nonconvex collision geometry.

Kinematic: 2

Kinematic rigid body.

Remarks

Kinematic rigid bodies are not affected by forces. They can influence dynamic rigid bodies through collisions, but are not themselves influenced by collisions. They can be moved by setting their linear and/or angular velocity. Alternatively, they can be moved by moving the entity to which they are attached.

Generated using TypeDoc