Struct CollisionEvent
Namespace: Unity.Physics
Syntax
public struct CollisionEvent
Properties
AccumulatedImpulses
Declaration
public float4 AccumulatedImpulses { get; }
Property Value
| Type | Description |
|---|---|
| float4 |
BodyIndices
Declaration
public BodyIndexPair BodyIndices { get; }
Property Value
| Type | Description |
|---|---|
| BodyIndexPair |
ColliderKeys
Declaration
public ColliderKeyPair ColliderKeys { get; }
Property Value
| Type | Description |
|---|---|
| ColliderKeyPair |
Entities
Declaration
public EntityPair Entities { get; }
Property Value
| Type | Description |
|---|---|
| EntityPair |
Normal
Declaration
public float3 Normal { get; }
Property Value
| Type | Description |
|---|---|
| float3 |