diff --git a/src/body/RigidBody.cpp b/src/body/RigidBody.cpp index 64153937..364a7592 100644 --- a/src/body/RigidBody.cpp +++ b/src/body/RigidBody.cpp @@ -401,7 +401,7 @@ void RigidBody::updateBroadPhaseState() const { PROFILE("RigidBody::updateBroadPhaseState()"); DynamicsWorld& world = static_cast(mWorld); - const Vector3 displacement = world.mTimer.getTimeStep() * mLinearVelocity; + const Vector3 displacement = world.mTimeStep * mLinearVelocity; // For all the proxy collision shapes of the body for (ProxyShape* shape = mProxyCollisionShapes; shape != NULL; shape = shape->mNext) {