Struct ImpulseEvent
An impulse event.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct ImpulseEvent
Properties
BodyIndexA
Gets the body index a.
Declaration
public int BodyIndexA { get; }
Property Value
Type | Description |
---|---|
int | The body index a. |
BodyIndexB
Gets the body index b.
Declaration
public int BodyIndexB { get; }
Property Value
Type | Description |
---|---|
int | The body index b. |
Impulse
Gets the impulse.
Declaration
public float3 Impulse { get; }
Property Value
Type | Description |
---|---|
float3 | The impulse. |
JointEntity
Gets the joint entity.
Declaration
public Entity JointEntity { get; }
Property Value
Type | Description |
---|---|
Entity | The joint entity. |
Type
Gets the ConstraintType.
Declaration
public ConstraintType Type { get; }
Property Value
Type | Description |
---|---|
ConstraintType | The constraint type. |