Interface CollisionItem Beta

Describes a collision event between an item and another object.

Hierarchy

  • Collision

Properties

collidePoints: CollidePoint[]

Describes information of the collision point(s). If the collided object is touching with its surface or edge, it will be represented as multiple collision points.

impulse: Vector3

The total amount of impulse generated from the collision.

object: HitObject

Describes the collided object.

relativeVelocity: Vector3

The relative velocity of the collided object as seen from the item.

Generated using TypeDoc