CollisionResponseMode

Defines how collision interactions are handled for an entity, including the level of data collected and whether physical collision effects are applied.

Note: The collision detection system operates with a precision of 0.001 meters (1 millimeter). When the distance between the surfaces of two colliders is less than this threshold, the colliders are considered to be in contact.

Entries

Link copied to clipboard

Collects detailed collision data, including contact points, normal vectors, and penetration depths; but does not apply any physical collision effects to the entity. Useful for detecting precise interactions without affecting simulation behavior.

Link copied to clipboard

Collects minimal collision data (contact points only) without applying physical collision effects. Suitable for lightweight trigger-based interactions.

Link copied to clipboard

Collects detailed collision data, including contact points, normal vectors, and penetration depths; and applies physical collision effects to the entity. Use this mode when the entity should physically respond to collisions.

Properties

Link copied to clipboard
val entries: EnumEntries<CollisionResponseMode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): CollisionResponseMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.