{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct MotionVelocity | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MotionVelocity

    A dynamic rigid body's "hot" motion data, used during solving.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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)

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)