Event thrown on an actor when a collision will occur this frame if it resolves

Type Parameters

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

intersection: Vector

Intersection vector

other: T

The actor that will collided with the current actor

side: Side

The side that will be collided with the current actor

target: T

Target object for this event.

Accessors

  • get bubbles(): boolean
  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Returns boolean

  • set bubbles(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Methods