From ee4834d9dcf4bd068857926f97a1a0b793901490 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 4 Mar 2013 18:44:36 +0000 Subject: [PATCH] but anyway, there you go git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/debug/BulletGhostObjectDebugControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d346c53c4..62ab7a214 100644 --- a/engine/src/bullet-common/com/jme3/bullet/debug/BulletGhostObjectDebugControl.java +++ b/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()); }