solverResidualThreshold now can be set.

This commit is contained in:
donghokang
2018-05-29 16:25:28 +02:00
parent a3e4582bef
commit 6bd7a52bf8

View File

@@ -1626,7 +1626,7 @@ bool b3RobotSimulatorClientAPI_NoGUI::setPhysicsEngineParameter(struct b3RobotSi
b3PhysicsParamSetDefaultFrictionERP(command,args.m_frictionERP); b3PhysicsParamSetDefaultFrictionERP(command,args.m_frictionERP);
} }
if (args.m_restitutionVelocityThreshold >= 0) { if (args.m_solverResidualThreshold >= 0) {
b3PhysicsParamSetSolverResidualThreshold(command, args.m_solverResidualThreshold); b3PhysicsParamSetSolverResidualThreshold(command, args.m_solverResidualThreshold);
} }