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 |
---|---|
Angular |
The angular expansion factor. |
Angular |
Angular velocity in Motion space. |
Gravity |
A multiplier applied to the simulation step's gravity vector. |
Inverse |
The inverse inertia. |
Inverse |
The inverse mass. |
Linear |
Linear velocity in World space. |
Zero | The zero Motion Velocity. All fields are initialized to zero. |
Properties
Name | Description |
---|---|
Has |
Gets a value indicating whether this object has infinite inertia. |
Has |
Gets a value indicating whether this object has infinite mass. |
Is |
Gets a value indicating whether this object is kinematic. |
Methods
Name | Description |
---|---|
Apply |
Apply an angular impulse (in motion space) |
Apply |
Apply a linear impulse (in world space) |