Main repository of MikuMikuStudio
リビジョン | d87650c317f0c6c8c5516610867b8fe963e1f05d (tree) |
---|---|
日時 | 2013-03-05 03:44:36 |
作者 | normen667 <normen667@75d0...> |
コミッター | normen667 |
but anyway, there you go
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -84,7 +84,7 @@ public class BulletGhostObjectDebugControl extends AbstractPhysicsDebugControl { | ||
84 | 84 | geom.setMaterial(debugAppState.DEBUG_YELLOW); |
85 | 85 | node.attachChild(geom); |
86 | 86 | } |
87 | - applyPhysicsTransform(body.getPhysicsLocation(location), Quaternion.IDENTITY); | |
87 | + applyPhysicsTransform(body.getPhysicsLocation(location), body.getPhysicsRotation(rotation)); | |
88 | 88 | geom.setLocalScale(body.getCollisionShape().getScale()); |
89 | 89 | } |
90 | 90 |