From 354b55f3eee619ce8b4f64c11aa01381bf7ac4dc Mon Sep 17 00:00:00 2001 From: Ahmad Abu-Aysha Date: Wed, 6 Sep 2023 22:40:13 +1000 Subject: [PATCH] commented checkAndDeleteBodies out for investigation of alternative approach --- .../core/src/main/com/csse3200/game/physics/PhysicsEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/src/main/com/csse3200/game/physics/PhysicsEngine.java b/source/core/src/main/com/csse3200/game/physics/PhysicsEngine.java index 1b7878d44..882ad4935 100644 --- a/source/core/src/main/com/csse3200/game/physics/PhysicsEngine.java +++ b/source/core/src/main/com/csse3200/game/physics/PhysicsEngine.java @@ -45,7 +45,7 @@ public PhysicsEngine(World world, GameTime timeSource) { public void update() { // Check for deleted bodies and joints - checkAndDeleteBodies(); + // checkAndDeleteBodies(); // Updating physics isn't as easy as triggering an update every frame. Each frame could take a // different amount of time to run, but physics simulations are only stable if computed at a