docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Solver.DirectSolverSettings

    Settings for the direct solver, an advanced solver for accurate physics simulation, enabling complex and realistic joint and contact behavior.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    [Serializable]
    public struct Solver.DirectSolverSettings

    Fields

    Default

    The default direct solver settings.

    Declaration
    public static readonly Solver.DirectSolverSettings Default
    Field Value
    Type Description
    Solver.DirectSolverSettings

    Properties

    ContactDamping

    The damping a contact will have when simulated with the direct solver.

    Declaration
    public float ContactDamping { get; set; }
    Property Value
    Type Description
    float

    ContactSlip

    The slip a contact will experience in the friction plane when simulated with the direct solver.

    Declaration
    public float ContactSlip { get; set; }
    Property Value
    Type Description
    float

    ContactStiffness

    The stiffness a contact will have when simulated with the direct solver.

    Declaration
    public float ContactStiffness { get; set; }
    Property Value
    Type Description
    float

    MaximumJointDamping

    The maximum damping a joint can have when simulated with the direct solver.

    Declaration
    public float MaximumJointDamping { get; set; }
    Property Value
    Type Description
    float

    MaximumJointStiffness

    The maximum stiffness a joint can have when simulated with the direct solver.

    Declaration
    public float MaximumJointStiffness { get; set; }
    Property Value
    Type Description
    float

    MinimumMotorSlip

    The minimum slip a motor joint will experience when simulated with the direct solver.

    Declaration
    public float MinimumMotorSlip { get; set; }
    Property Value
    Type Description
    float
    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)