docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Solver

    A static class that exposes Solver configuration structures.

    Inheritance
    object
    Solver
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public static class Solver

    Fields

    kDefaultSolverType

    Default solver type

    Declaration
    public const SolverType kDefaultSolverType = Iterative
    Field Value
    Type Description
    SolverType

    Methods

    CalculateInvTimestep(float)

    Takes the time step in ms and returns the inverse of the time step (simulation frequency) in Hz.

    Declaration
    public static float CalculateInvTimestep(float timestep)
    Parameters
    Type Name Description
    float timestep

    The time step in ms.

    Returns
    Type Description
    float

    The inverse time step (simulation frequency) in Hz.

    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)