Merge branch 'develop' of github.com:Vulpovile/G3D-Fun into feature/physics_sleep

This commit is contained in:
Vulpovile
2022-10-05 13:52:20 -07:00
11 changed files with 264 additions and 7 deletions

View File

@@ -323,6 +323,9 @@ void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
if(_dataModel->isRunning())
{
LevelInstance* Level = _dataModel->getLevel();
Level->Step(sdt);
// XplicitNgine Start
std::vector<PartInstance *> toDelete;
for(size_t i = 0; i < _dataModel->getWorkspace()->partObjects.size(); i++)