{!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} Method Integrate | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Integrate

    Integrate(NativeArray<MotionData>, NativeArray<MotionVelocity>, float)

    Integrate the world's motions forward by the given time step.

    Declaration
    public static void Integrate(NativeArray<MotionData> motionDatas, NativeArray<MotionVelocity> motionVelocities, float timeStep)
    Parameters
    Type Name Description
    NativeArray<MotionData> motionDatas

    The motion datas.

    NativeArray<MotionVelocity> motionVelocities

    The motion velocities.

    float timeStep

    The time step.

    Integrate(ref RigidTransform, in MotionVelocity, in float)

    Integrate a single transform for the provided velocity and time.

    Declaration
    public static void Integrate(ref RigidTransform transform, in MotionVelocity motionVelocity, in float timeStep)
    Parameters
    Type Name Description
    RigidTransform transform

    [in,out] The transform.

    MotionVelocity motionVelocity

    The motion velocity.

    float timeStep

    The time step.

    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)