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

    Show / Hide Table of Contents

    Method Solve

    Solve(float, float, float3, float, NativeList<SurfaceConstraintInfo>, ref float3, ref float3, out float, bool)

    Solves.

    Declaration
    public static void Solve(float deltaTime, float minDeltaTime, float3 up, float maxVelocity, NativeList<SurfaceConstraintInfo> constraints, ref float3 position, ref float3 velocity, out float integratedTime, bool useConstraintVelocities = true)
    Parameters
    Type Name Description
    float deltaTime

    The delta time.

    float minDeltaTime

    The minimum time delta time.

    float3 up

    The up vector.

    float maxVelocity

    The maximum velocity.

    NativeList<SurfaceConstraintInfo> constraints

    The constraints.

    float3 position

    [in,out] The position.

    float3 velocity

    [in,out] The velocity.

    float integratedTime

    [out] The integrated time.

    bool useConstraintVelocities

    (Optional) True to use constraint velocities.

    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)