Event thrown the first time an actor collides with another, after an actor is in contact normal collision events are fired.

Type Parameters

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

other: T
target: T

Target object for this event.

Accessors

  • get actor(): T
  • Returns T

  • set actor(actor: T): void
  • Parameters

    • actor: T

    Returns void

  • 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