SetPhysicsDetail
This function sets the accuracy of the physics solver.
Syntax
- void SetPhysicsDetail(int mode)
Parameters
- mode: the new physics detail mode.
Remarks
This function allows you to set the accuracy of the physics solver. The solver model value can be one of the following:
0 is the exact solver (default). This is a one pass solver that calculates regular and frictional forces at the same time. Use this model if you require a high degree of accuracy in your simulation.
n ( > 0 ) is the linear solver. This is a complete iterative solver which peform n iterations per update. Increasing the number of iterations will improve accuracy at the cost of solver speed. Use this model if you require speed over accuracy in your simulation.