Added physics sleep, fixed stack overflows

This commit is contained in:
Vulpovile
2022-10-05 07:39:19 -07:00
parent 618a3eeec0
commit 79e8a9738e
2 changed files with 36 additions and 6 deletions

View File

@@ -343,9 +343,9 @@ void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
p->setParent(NULL);
delete p;
}
for(int i = 0; i < 6; i++)
for(int i = 0; i < 10; i++)
{
_dataModel->getEngine()->step(0.1F);
_dataModel->getEngine()->step(0.05F);
}
onLogic();