Struct MotionVelocity
Syntax
public struct MotionVelocity
Fields
AngularExpansionFactor
Declaration
public float AngularExpansionFactor
Field Value
Type |
Description |
System.Single |
|
AngularVelocity
Declaration
public float3 AngularVelocity
Field Value
InverseInertiaAndMass
Declaration
public float4 InverseInertiaAndMass
Field Value
LinearVelocity
Declaration
public float3 LinearVelocity
Field Value
Zero
Declaration
public static readonly MotionVelocity Zero
Field Value
Methods
ApplyAngularImpulse(float3)
Declaration
public void ApplyAngularImpulse(float3 impulse)
Parameters
Type |
Name |
Description |
float3 |
impulse |
|
ApplyLinearImpulse(float3)
Declaration
public void ApplyLinearImpulse(float3 impulse)
Parameters
Type |
Name |
Description |
float3 |
impulse |
|
CalculateExpansion(Single)
Declaration
public MotionExpansion CalculateExpansion(float timeStep)
Parameters
Type |
Name |
Description |
System.Single |
timeStep |
|
Returns