Interface ISimulationEvent<T>
An event raised when a pair of bodies interact during solving.
Namespace: Unity.Physics
Syntax
public interface ISimulationEvent<T> : IComparable<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
BodyIndexA
Declaration
int BodyIndexA { get; }
Property Value
Type | Description |
---|---|
Int32 |
BodyIndexB
Declaration
int BodyIndexB { get; }
Property Value
Type | Description |
---|---|
Int32 |
ColliderKeyA
Declaration
ColliderKey ColliderKeyA { get; }
Property Value
Type | Description |
---|---|
ColliderKey |
ColliderKeyB
Declaration
ColliderKey ColliderKeyB { get; }
Property Value
Type | Description |
---|---|
ColliderKey |
EntityA
Declaration
Entity EntityA { get; }
Property Value
Type | Description |
---|---|
Entity |
EntityB
Declaration
Entity EntityB { get; }
Property Value
Type | Description |
---|---|
Entity |