Added items to the developer menu for debugging physics
Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all
Unified · Split
| @@ -7867,6 +7867,26 @@ void Application::switchDisplayMode() { · 7866 unmodified lines | ||
| 7867 | 7867 | _previousHMDWornStatus = currentHMDWornStatus; |
| 7868 | 7868 | } |
| 7869 | 7869 | |
| 7870 | +void Application::setShowBulletWireframe(bool value) { | |
| 7871 | + _physicsEngine->setShowBulletWireframe(value); | |
| 7872 | +} | |
| 7873 | + | |
| 7874 | +void Application::setShowBulletAABBs(bool value) { | |
| 7875 | + _physicsEngine->setShowBulletAABBs(value); | |
| 7876 | +} | |
| 7877 | + | |
| 7878 | +void Application::setShowBulletContactPoints(bool value) { | |
| 7879 | + _physicsEngine->setShowBulletContactPoints(value); | |
| 7880 | +} | |
| 7881 | + | |
| 7882 | +void Application::setShowBulletConstraints(bool value) { | |
| 7883 | + _physicsEngine->setShowBulletConstraints(value); | |
| 7884 | +} | |
| 7885 | + | |
| 7886 | +void Application::setShowBulletConstraintLimits(bool value) { | |
| 7887 | + _physicsEngine->setShowBulletConstraintLimits(value); | |
| 7888 | +} | |
| 7889 | + | |
| 7870 | 7890 | void Application::startHMDStandBySession() { |
| 7871 | 7891 | _autoSwitchDisplayModeSupportedHMDPlugin->startStandBySession(); |
| 7872 | 7892 | } |