Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollisionEvent

Event thrown on an actor when a collision has occurred

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • actor: Actor

      The actor the event was thrown on

    • other: Actor

      The actor that was collided with

    • side: Side

      The side that was collided with

    • intersection: Vector

      Intersection vector

    Returns CollisionEvent

Properties

actor

actor: Actor

The actor the event was thrown on

intersection

intersection: Vector

Intersection vector

other

other: Actor

The actor that was collided with

side

side: Side

The side that was collided with

target

target: any

Target object for this event.