Showing the changes to libraries/physics/src/ObjectMotionState.cpp (1 of 1 file). Show all
Unified · Split
| @@ -83,7 +83,7 @@ glm::vec3 ObjectMotionState::getBodyLinearVelocity() const { · 82 unmodified lines | |||
| 83 | return bulletToGLM(_body->getLinearVelocity()); | 83 | return bulletToGLM(_body->getLinearVelocity()); |
| 84 | } | 84 | } |
| 85 | glm::vec3 ObjectMotionState::getObjectLinearVelocityChange() const { | 85 | glm::vec3 ObjectMotionState::getObjectLinearVelocityChange() const { |
| 86 | return glm::vec3(); // Subclasses override where meaningful. | 86 | return glm::vec3(0.0f); // Subclasses override where meaningful. |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | glm::vec3 ObjectMotionState::getBodyAngularVelocity() const { | 89 | glm::vec3 ObjectMotionState::getBodyAngularVelocity() const { |