Fixed linear velocity

This commit is contained in:
Robin Engman 2014-02-21 11:33:57 +01:00
parent e73c988b81
commit 628c81c33a
1 changed files with 1 additions and 1 deletions

View File

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