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