docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SolverType

    Solver types, used for calculating joint and contact forces.

    Types appear in order of decreasing solver performance but increasing accuracy.

    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public enum SolverType : byte

    Fields

    Name Description
    Direct

    Direct solver. Accurate but more computationally demanding.

    Ideal for situations involving complex jointed mechanisms with high mass or stiffness ratios, and for accurate contact resolution and friction modeling. See also Solver.DirectSolverSettings.

    Iterative

    Iterative solver (default). Fast and approximate.

    Ideal for situations involving many colliding rigid bodies.

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