PreCollisionEvent <T>
Hierarchy
- GameEvent<T>
- PreCollisionEvent
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Type parameters
Parameters
self: T
The actor the event was thrown on
other: T
The actor that will collided with the current actor
side: Side
The side that will be collided with the current actor
intersection: Vector
Intersection vector
contact: CollisionContact
Returns PreCollisionEvent<T>
Properties
publiccontact
publicintersection
Intersection vector
publicinheritedother
The actor that will collided with the current actor
publicself
The actor the event was thrown on
publicside
The side that will be collided with the current actor
publicinheritedtarget
Target object for this event.
Accessors
publicinheritedbubbles
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
Prevents event from bubbling
Returns void
Event thrown on an
actorwhen a collision will occur this frame if it resolves