but anyway, there you go
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
1d7a631430
commit
ee4834d9dc
@ -84,7 +84,7 @@ public class BulletGhostObjectDebugControl extends AbstractPhysicsDebugControl {
|
|||||||
geom.setMaterial(debugAppState.DEBUG_YELLOW);
|
geom.setMaterial(debugAppState.DEBUG_YELLOW);
|
||||||
node.attachChild(geom);
|
node.attachChild(geom);
|
||||||
}
|
}
|
||||||
applyPhysicsTransform(body.getPhysicsLocation(location), Quaternion.IDENTITY);
|
applyPhysicsTransform(body.getPhysicsLocation(location), body.getPhysicsRotation(rotation));
|
||||||
geom.setLocalScale(body.getCollisionShape().getScale());
|
geom.setLocalScale(body.getCollisionShape().getScale());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user