Event
Physics
(NOTE) Common interface for all collision events. Contains shared methods to access contact information for a collision.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
ContactPointCount | event | collisionevent | |
ContactPoints | collisiongroupevent | ||
IsGhost | presolveevent | ||
Object | |||
OtherObject |
Properties
ContactPointCount : integer
read-only
The number of contact points in this collision.
var ContactPointCount : Integer
ContactPoints : contactpointrange
read-only
A range for iterating through all contact points.
var ContactPoints : ContactPointRange
IsGhost : boolean
read-only
If this was a ghost collision (detected but not resolved).
var IsGhost : Boolean
Object : cog
read-only
The object that this event was sent to.
var Object : Cog
OtherObject : cog
read-only
The other object in this collision.
var OtherObject : Cog