Set the number of iterations for the velocity constraint solver * @param nbIterations Number of iterations for the velocity solver */
| 661 | * @param nbIterations Number of iterations for the velocity solver |
| 662 | */ |
| 663 | void 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 |
| 672 | void PhysicsWorld::addJointToBodies(Entity body1, Entity body2, Entity joint) { |
no outgoing calls
no test coverage detected