Struct TriggerEvent
An event raised when a pair of bodies involving a trigger material have overlapped during solving.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct TriggerEvent : ISimulationEvent<TriggerEvent>, IComparable<TriggerEvent>
Properties
Name | Description |
---|---|
BodyIndexA | Gets the body index a. |
BodyIndexB | Gets the body index b. |
ColliderKeyA | Gets the collider key a. |
ColliderKeyB | Gets the collider key b. |
EntityA | Gets the entity a. |
EntityB | Gets the entity b. |
Methods
Name | Description |
---|---|
CompareTo(TriggerEvent) | Compares this TriggerEvent object to another to determine their relative ordering. |