Tied physics to FPS

This commit is contained in:
Vulpovile
2022-10-03 11:26:56 -07:00
parent e8ecb14f64
commit 6e2c135b47

View File

@@ -353,7 +353,7 @@ void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
}
for(int i = 0; i < 6; i++)
{
_dataModel->getEngine()->step(sdt*2);
_dataModel->getEngine()->step(0.1F);
}
onLogic();