Enter

class Enter : Event

This event is triggered when two entities collide.

Properties

Link copied to clipboard
val contacts: MutableList<CollisionContact>

The list of collision contacts, available only when the collision reporting option is CollisionInfoDetailLevel.DETAILED.

Link copied to clipboard

The first entity involved in the collision.

Link copied to clipboard

The second entity involved in the collision.

Link copied to clipboard

The total impulse for this collision pair, calculated by summing all impulses at each contact point. Default value is {0.0f, 0.0f, 0.0f}.

Link copied to clipboard

The estimated overlap distance between the two colliding entities in scene coordinates. Default value is 0.0F.

Link copied to clipboard

A position representing the estimated point of contact. Default value is {0.0f, 0.0f, 0.0f}.

Functions

Link copied to clipboard
open override fun toString(): String