Struct MotionData
A dynamic rigid body's "cold" motion data, used during Jacobian building and integration.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct MotionDataFields
AngularDamping
Angular damping applied to the motion during each simulation step.
Declaration
public float AngularDampingField Value
| Type | Description | 
|---|---|
| float | 
BodyFromMotion
Center of mass and inertia orientation in rigid body space.
Declaration
public RigidTransform BodyFromMotionField Value
| Type | Description | 
|---|---|
| RigidTransform | 
LinearDamping
Linear damping applied to the motion during each simulation step.
Declaration
public float LinearDampingField Value
| Type | Description | 
|---|---|
| float | 
WorldFromMotion
Center of mass and inertia orientation in world space.
Declaration
public RigidTransform WorldFromMotionField Value
| Type | Description | 
|---|---|
| RigidTransform | 
Zero
The Zero Motion Data. All transforms are identites, all dampings are zero.
Declaration
public static readonly MotionData ZeroField Value
| Type | Description | 
|---|---|
| MotionData |