Skip to main content

CollisionStartEvent <T>

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

Hierarchy

Index

Constructors

constructor

Properties

publiccontact

publicinheritedother

other: T

publicself

self: T

publicside

side: Side

publicinheritedtarget

target: T

Target object for this event.

Accessors

publicinheritedbubbles

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


    Returns boolean

  • Parameters

    • value: boolean

    Returns void

Methods

publicinheritedstopPropagation

  • stopPropagation(): void
  • Prevents event from bubbling


    Returns void