Class Solver
Syntax
public static class Solver
Methods
Declaration
public static void ApplyGravityAndCopyInputVelocities(NativeArray<MotionVelocity> motionVelocities, NativeArray<Velocity> inputVelocities, float3 gravityAcceleration)
Parameters
BuildJacobians(ref PhysicsWorld, Single, float3, Int32, NativeArray<DispatchPairSequencer.DispatchPair>, ref NativeStream.Reader, ref NativeStream.Writer)
Declaration
public static void BuildJacobians(ref PhysicsWorld world, float timeStep, float3 gravity, int numSolverIterations, NativeArray<DispatchPairSequencer.DispatchPair> dispatchPairs, ref NativeStream.Reader contactsReader, ref NativeStream.Writer jacobiansWriter)
Parameters
SolveJacobians(ref NativeStream.Reader, NativeArray<MotionVelocity>, Single, Int32, ref NativeStream.Writer, ref NativeStream.Writer, Solver.StabilizationData)
Declaration
public static void SolveJacobians(ref NativeStream.Reader jacobiansReader, NativeArray<MotionVelocity> motionVelocities, float timeStep, int numIterations, ref NativeStream.Writer collisionEventsWriter, ref NativeStream.Writer triggerEventsWriter, Solver.StabilizationData solverStabilizationData)
Parameters