Class Solver | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Solver

    Inheritance
    System.Object
    Solver
    Namespace: Unity.Physics
    Syntax
    public static class Solver

    Methods

    BuildJointJacobian(JointData*, BodyIndexPair, MotionVelocity, MotionVelocity, MotionData, MotionData, Single, Int32, ref BlockStream.Writer)

    Declaration
    public static void BuildJointJacobian(JointData*jointData, BodyIndexPair pair, MotionVelocity velocityA, MotionVelocity velocityB, MotionData motionA, MotionData motionB, float timestep, int numIterations, ref BlockStream.Writer jacobianWriter)
    Parameters
    Type Name Description
    JointData* jointData
    BodyIndexPair pair
    MotionVelocity velocityA
    MotionVelocity velocityB
    MotionData motionA
    MotionData motionB
    System.Single timestep
    System.Int32 numIterations
    BlockStream.Writer jacobianWriter

    ScheduleBuildContactJacobiansJobs(ref DynamicsWorld, Single, ref Simulation.Context, JobHandle)

    Declaration
    public static JobHandle ScheduleBuildContactJacobiansJobs(ref DynamicsWorld world, float timeStep, ref Simulation.Context context, JobHandle inputDeps)
    Parameters
    Type Name Description
    DynamicsWorld world
    System.Single timeStep
    Simulation.Context context
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle

    ScheduleSolveJacobiansJobs(ref DynamicsWorld, Single, float3, Int32, ref Simulation.Context, JobHandle)

    Declaration
    public static JobHandle ScheduleSolveJacobiansJobs(ref DynamicsWorld dynamicsWorld, float timestep, float3 gravity, int numIterations, ref Simulation.Context context, JobHandle inputDeps)
    Parameters
    Type Name Description
    DynamicsWorld dynamicsWorld
    System.Single timestep
    float3 gravity
    System.Int32 numIterations
    Simulation.Context context
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023