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