MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / setNbIterationsPositionSolver

Method setNbIterationsPositionSolver

src/engine/PhysicsWorld.cpp:960–966  ·  view source on GitHub ↗

Set the number of iterations for the position constraint solver * @param nbIterations Number of iterations for the position solver */

Source from the content-addressed store, hash-verified

958 * @param nbIterations Number of iterations for the position solver
959 */
960void PhysicsWorld::setNbIterationsPositionSolver(uint32 nbIterations) {
961
962 mNbPositionSolverIterations = nbIterations;
963
964 RP3D_LOG(mConfig.worldName, Logger::Level::Information, Logger::Category::World,
965 "Physics World: Set nb iterations position solver to " + std::to_string(nbIterations), __FILE__, __LINE__);
966}
967
968// Set the gravity vector of the world
969/**

Callers 1

updateEngineSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected