From 6bd7a52bf8d2c43ec4cfa95972b6dbd91c5c8ffe Mon Sep 17 00:00:00 2001 From: donghokang Date: Tue, 29 May 2018 16:25:28 +0200 Subject: [PATCH] solverResidualThreshold now can be set. --- examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp b/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp index 760670382..dfe6e19a2 100644 --- a/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp +++ b/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp @@ -1626,7 +1626,7 @@ bool b3RobotSimulatorClientAPI_NoGUI::setPhysicsEngineParameter(struct b3RobotSi b3PhysicsParamSetDefaultFrictionERP(command,args.m_frictionERP); } - if (args.m_restitutionVelocityThreshold >= 0) { + if (args.m_solverResidualThreshold >= 0) { b3PhysicsParamSetSolverResidualThreshold(command, args.m_solverResidualThreshold); }