Struct MotionVelocity
A dynamic rigid body's "hot" motion data, used during solving.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct MotionVelocity
Fields
Name | Description |
---|---|
AngularExpansionFactor | The angular expansion factor. |
AngularVelocity | Angular velocity in Motion space. |
GravityFactor | A multiplier applied to the simulation step's gravity vector. |
InverseInertia | The inverse inertia. |
InverseMass | The inverse mass. |
LinearVelocity | Linear velocity in World space. |
Zero | The zero Motion Velocity. All fields are initialized to zero. |
Properties
Name | Description |
---|---|
HasInfiniteInertia | Gets a value indicating whether this object has infinite inertia. |
HasInfiniteMass | Gets a value indicating whether this object has infinite mass. |
IsKinematic | Gets a value indicating whether this object is kinematic. |
Methods
Name | Description |
---|---|
ApplyAngularImpulse(float3) | Apply an angular impulse (in motion space) |
ApplyLinearImpulse(float3) | Apply a linear impulse (in world space) |