From d5cd0c7b4425e25b11a1ceec154a5c752d508a42 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 26 Jun 2019 16:14:00 -0400 Subject: Major refactor of physics code Move all the physics code into the shared directory, and fix the ghost objects (aabb only) --- src/shared/phys/physcommon.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/phys/physcommon.cpp') diff --git a/src/shared/phys/physcommon.cpp b/src/shared/phys/physcommon.cpp index b588b23..379ad55 100644 --- a/src/shared/phys/physcommon.cpp +++ b/src/shared/phys/physcommon.cpp @@ -85,6 +85,7 @@ void UpdatePhysics(double TDeltaTime, void(*f)(btCollisionObject *)) { World->stepSimulation(TDeltaTime * 0.2f, 60); //printf("Done step simulation\n"); if(f){ + //printf("Updating the position of %llu objects\n", Objects.size()); // Relay the object's orientation to irrlicht for(std::list::iterator it = Objects.begin(); it != Objects.end(); ++it) { (*f)(*it); -- cgit v1.2.3-70-g09d2