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

Method setNbIterationsVelocitySolver

src/engine/PhysicsWorld.cpp:663–669  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

661 * @param nbIterations Number of iterations for the velocity solver
662 */
663void PhysicsWorld::setNbIterationsVelocitySolver(uint16 nbIterations) {
664
665 mNbVelocitySolverIterations = nbIterations;
666
667 RP3D_LOG(mConfig.worldName, Logger::Level::Information, Logger::Category::World,
668 "Physics World: Set nb iterations velocity solver to " + std::to_string(nbIterations), __FILE__, __LINE__);
669}
670
671// Add the joint to the array of joints of the two bodies involved in the joint
672void PhysicsWorld::addJointToBodies(Entity body1, Entity body2, Entity joint) {

Callers 1

updateEngineSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected