Struct CollisionEvent
Syntax
public struct CollisionEvent : ISimulationEvent<CollisionEvent>, IComparable<CollisionEvent>
Properties
BodyIndexA
Declaration
public readonly int BodyIndexA { get; }
Property Value
Implements
BodyIndexB
Declaration
public readonly int BodyIndexB { get; }
Property Value
Implements
ColliderKeyA
Declaration
public readonly ColliderKey ColliderKeyA { get; }
Property Value
Implements
ColliderKeyB
Declaration
public readonly ColliderKey ColliderKeyB { get; }
Property Value
Implements
EntityA
Declaration
public readonly Entity EntityA { get; }
Property Value
Implements
EntityB
Declaration
public readonly Entity EntityB { get; }
Property Value
Implements
Normal
Declaration
public readonly float3 Normal { get; }
Property Value
Methods
CalculateDetails(ref PhysicsWorld)
Declaration
public CollisionEvent.Details CalculateDetails(ref PhysicsWorld physicsWorld)
Parameters
Returns
CompareTo(CollisionEvent)
Declaration
public int CompareTo(CollisionEvent other)
Parameters
Returns