Class Integrator | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Integrator

    Inheritance
    System.Object
    Integrator
    Namespace: Unity.Physics
    Syntax
    public static class Integrator

    Methods

    IntegrateAngularVelocity(float3, Single)

    Declaration
    public static quaternion IntegrateAngularVelocity(float3 angularVelocity, float timestep)
    Parameters
    Type Name Description
    float3 angularVelocity
    System.Single timestep
    Returns
    Type Description
    quaternion

    IntegrateOrientation(ref quaternion, float3, Single)

    Declaration
    public static void IntegrateOrientation(ref quaternion orientation, float3 angularVelocity, float timestep)
    Parameters
    Type Name Description
    quaternion orientation
    float3 angularVelocity
    System.Single timestep

    ScheduleIntegrateJobs(ref DynamicsWorld, Single, float3, JobHandle)

    Declaration
    public static JobHandle ScheduleIntegrateJobs(ref DynamicsWorld world, float timeStep, float3 gravity, JobHandle inputDeps)
    Parameters
    Type Name Description
    DynamicsWorld world
    System.Single timeStep
    float3 gravity
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    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