solverResidualThreshold now can be set.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user