diff --git a/SHADE_Engine/src/Physics/System/SHPhysicsSystem.cpp b/SHADE_Engine/src/Physics/System/SHPhysicsSystem.cpp index 2df5c496..9eab928d 100644 --- a/SHADE_Engine/src/Physics/System/SHPhysicsSystem.cpp +++ b/SHADE_Engine/src/Physics/System/SHPhysicsSystem.cpp @@ -185,6 +185,7 @@ namespace SHADE objectManager.commandQueue.pop(); sceneGraph.Traverse(BUILD_NEW_SCENE_PHYSICS_OBJECT); + objectManager.UpdateCommands(); } void SHPhysicsSystem::ForceUpdate() @@ -443,6 +444,7 @@ namespace SHADE // Build scene SHSceneManager::GetCurrentSceneGraph().Traverse(BUILD_PHYSICS_OBJECT); + objectManager.UpdateCommands(); return onPlayEvent->handle; }