소스 검색

Testing some alternatives for character controller stepping.

enn0x 14 년 전
부모
커밋
8e93bee2d6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      panda/src/bullet/bulletWorld.cxx

+ 4 - 4
panda/src/bullet/bulletWorld.cxx

@@ -152,12 +152,12 @@ do_physics(float dt, int substeps, float stepsize) {
   _pstat_simulation.stop();
 
   if (!n) {
-    bullet_cat.warning() << "interpolated transforms!" << endl;
+    bullet_cat.debug() << "interpolated transforms!" << endl;
   }
 
-  //if (dt > substeps * stepsize) {
-  //  bullet_cat.warning() << "lost simulation time!" << endl;
-  //}
+  if (dt > substeps * stepsize) {
+    bullet_cat.debug() << "lost simulation time!" << endl;
+  }
 
   // Synchronize Bullet to Panda
   _pstat_b2p.start();