Merge remote-tracking branch 'origin/Physics' into GameLogic

This commit is contained in:
Erik Persson 2014-02-21 11:36:32 +01:00
commit 0ceab1640d
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ void API_Impl::UpdateWorld()
{ {
this->customBodies[i]->CallSubscription_Move(); this->customBodies[i]->CallSubscription_Move();
} }
simpleBody->SetPreviousVelocity(simpleBody->GetState().previousVelocity); simpleBody->SetPreviousVelocity(simpleBody->GetLinearVelocity());
} }
this->dynamicsWorld->stepSimulation(this->timeStep, 1, this->timeStep); this->dynamicsWorld->stepSimulation(this->timeStep, 1, this->timeStep);