but anyway, there you go

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 1d7a631430
commit ee4834d9dc
  1. 2
      engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java

@ -84,7 +84,7 @@ public class BulletGhostObjectDebugControl extends AbstractPhysicsDebugControl {
geom.setMaterial(debugAppState.DEBUG_YELLOW);
node.attachChild(geom);
}
applyPhysicsTransform(body.getPhysicsLocation(location), Quaternion.IDENTITY);
applyPhysicsTransform(body.getPhysicsLocation(location), body.getPhysicsRotation(rotation));
geom.setLocalScale(body.getCollisionShape().getScale());
}

Loading…
Cancel
Save