docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Utility

    Static class that contains various extension methods.

    Inheritance
    object
    Utility
    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public static class Utility

    Methods

    Name Description
    GetAnalogInput(float, float)

    Combines two floating point values into a float2 value.

    GetDesiredForwardDirection(float3, float3)

    Converts a world space vector into a relative vector w.r.t. the current main camera.

    GetDesiredForwardDirection(float3, float3, float3)

    Converts a world space vector into a relative vector.

    GetInputMove(ref float3, ref float)
    GetRelativeLinearVelocity(float3, float3)

    Converts a world space vector into a view-direction relative vector.

    SampleTrajectoryAtTime(NativeSlice<AffineTransform>, float, float)
    SteerRootMotion(AffineTransform, AffineTransform, float, float, float, float, float)

    Returns the interpolated transform between the current and desired root motion, taking into account individual translation and rotation weights

    In This Article
    Back to top
    Copyright © 2024 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)