docs.unity3d.com
    Show / Hide Table of Contents

    Struct MotionData

    A dynamic rigid body's "cold" motion data, used during Jacobian building and integration.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023