Enable/Disable the gravity * @param isGravityEnabled True if you want to enable the gravity in the world * and false otherwise */
| 1025 | * and false otherwise |
| 1026 | */ |
| 1027 | void PhysicsWorld::setIsGravityEnabled(bool isGravityEnabled) { |
| 1028 | mIsGravityEnabled = isGravityEnabled; |
| 1029 | |
| 1030 | RP3D_LOG(mConfig.worldName, Logger::Level::Information, Logger::Category::World, |
| 1031 | "Physics World: isGravityEnabled= " + (isGravityEnabled ? std::string("true") : std::string("false")), __FILE__, __LINE__); |
| 1032 | } |
| 1033 | |
| 1034 | // Return a constant pointer to a given RigidBody of the world |
| 1035 | /** |
no outgoing calls
no test coverage detected