Fixed linear velocity
This commit is contained in:
parent
e73c988b81
commit
628c81c33a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue