Struct MotionVelocity | Unity Physics | 0.5.1-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    Struct MotionVelocity

    Namespace: Unity.Physics
    Syntax
    public struct MotionVelocity

    Fields

    AngularExpansionFactor

    Declaration
    public float AngularExpansionFactor
    Field Value
    Type Description
    Single

    AngularVelocity

    Declaration
    public float3 AngularVelocity
    Field Value
    Type Description
    Unity.Mathematics.float3

    GravityFactor

    Declaration
    public float GravityFactor
    Field Value
    Type Description
    Single

    InverseInertia

    Declaration
    public float3 InverseInertia
    Field Value
    Type Description
    Unity.Mathematics.float3

    InverseMass

    Declaration
    public float InverseMass
    Field Value
    Type Description
    Single

    LinearVelocity

    Declaration
    public float3 LinearVelocity
    Field Value
    Type Description
    Unity.Mathematics.float3

    Zero

    Declaration
    public static readonly MotionVelocity Zero
    Field Value
    Type Description
    MotionVelocity

    Methods

    ApplyAngularImpulse(float3)

    Declaration
    public void ApplyAngularImpulse(float3 impulse)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 impulse

    ApplyLinearImpulse(float3)

    Declaration
    public void ApplyLinearImpulse(float3 impulse)
    Parameters
    Type Name Description
    Unity.Mathematics.float3 impulse
    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