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

    Show / Hide Table of Contents

    Struct Solver.StabilizationHeuristicSettings

    Settings for controlling the solver stabilization heuristic.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Physics
    Assembly: solution.dll
    Syntax
    public struct Solver.StabilizationHeuristicSettings

    Fields

    Name Description
    Default

    The defualt stabilization options.

    InertiaScalingFactor

    Controls the intensity of inertia scaling. Defaults to 1.0f, while other values will scale the intensity up/down. Shouldn't go higher than 5.0f, as it will result in bad behavior (too high inertia of bodies). Set it to 0.0f to disable the feature.

    VelocityClippingFactor

    Controls the intensity of the velocity clipping. Defaults to 1.0f, while other values will scale the intensity up/down. Shouldn't go higher than 5.0f, as it will result in bad behavior (too aggressive velocity clipping). Set it to 0.0f to disable the feature.

    Properties

    Name Description
    EnableFrictionVelocities

    Switch to enable/disable heuristic when calculating friction velocities. Should be disabled only if it is causing behavior issues.

    EnableSolverStabilization

    Global switch to enable/disable the whole heuristic (false by default)

    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)