Struct CollisionEvent
Namespace: Unity.Physics
Syntax
public struct CollisionEvent
Fields
AccumulatedImpulses
Declaration
public float4 AccumulatedImpulses
Field Value
Type | Description |
---|---|
float4 |
BodyIndices
Declaration
public BodyIndexPair BodyIndices
Field Value
Type | Description |
---|---|
BodyIndexPair |
ColliderKeys
Declaration
public ColliderKeyPair ColliderKeys
Field Value
Type | Description |
---|---|
ColliderKeyPair |
Normal
Declaration
public float3 Normal
Field Value
Type | Description |
---|---|
float3 |