Event thrown on an actor when a collision has been resolved (body reacted) this frame

Type Parameters

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

intersection: Vector

Intersection vector

other: T

The actor that did collide with the current actor

side: Side

The side that did collide with the current actor

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