diff --git a/engine/src/bullet-common/com/jme3/bullet/debug/BulletCharacterDebugControl.java b/engine/src/bullet-common/com/jme3/bullet/debug/BulletCharacterDebugControl.java index de5b03a3f..9a5750fa4 100644 --- a/engine/src/bullet-common/com/jme3/bullet/debug/BulletCharacterDebugControl.java +++ b/engine/src/bullet-common/com/jme3/bullet/debug/BulletCharacterDebugControl.java @@ -84,6 +84,7 @@ public class BulletCharacterDebugControl extends AbstractPhysicsDebugControl { } } applyPhysicsTransform(body.getPhysicsLocation(location), Quaternion.IDENTITY); + geom.setLocalScale(body.getCollisionShape().getScale()); } @Override diff --git a/engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java b/engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java index 6227714e1..d10f20f4a 100644 --- a/engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java +++ b/engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java @@ -83,6 +83,7 @@ public class BulletGhostObjectDebugControl extends AbstractPhysicsDebugControl{ } } applyPhysicsTransform(body.getPhysicsLocation(location), Quaternion.IDENTITY); + geom.setLocalScale(body.getCollisionShape().getScale()); } @Override diff --git a/engine/src/bullet-common/com/jme3/bullet/debug/BulletRigidBodyDebugControl.java b/engine/src/bullet-common/com/jme3/bullet/debug/BulletRigidBodyDebugControl.java index b82d1e9fc..3cc231504 100644 --- a/engine/src/bullet-common/com/jme3/bullet/debug/BulletRigidBodyDebugControl.java +++ b/engine/src/bullet-common/com/jme3/bullet/debug/BulletRigidBodyDebugControl.java @@ -87,6 +87,7 @@ public class BulletRigidBodyDebugControl extends AbstractPhysicsDebugControl { } } applyPhysicsTransform(body.getPhysicsLocation(location), body.getPhysicsRotation(rotation)); + geom.setLocalScale(body.getCollisionShape().getScale()); } @Override