mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Testing some alternatives for character controller stepping.
This commit is contained in:
parent
4ebdf7b6fa
commit
8e93bee2d6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user