Enumeration Collider

The type of collision geometry for a physics component.

Enumeration Members

Enumeration Members

Box: 3

Box geometry.

Remarks

A bounding box around the entity and its descendants.

Convex: 4

Convex geometry.

Remarks

A convex-hull around the entity and its descendants.

Custom: 6

Custom geometry.

Remarks

Uses custom physics geometry generated using an external tool.

Nonconvex: 5

Mesh geometry.

Remarks

Uses the meshes of any graphics components on the entity and its descendants. May only be used with kinematic rigid bodies. Computationally expensive and suffers from tunnelling. Avoid using where possible.

None: 0

No collision geometry.

Remarks

A rigid body without collision geometry does not collide with anything and will not block sensors.

Plane: 1

Infinite plane collision geometry.

Remarks

An infinite plane aligned with the local yz-plane and normal in the local x-axis. May only be used with kinematic rigid bodies.

Sphere: 2

Sphere geometry.

Remarks

A bounding sphere around the entity and its descendants.

Generated using TypeDoc