- give own color to bullet vehicle constraint in debug view
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10343 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
8992563b86
commit
cc623ef44a
@ -93,10 +93,10 @@ public class BulletVehicleDebugControl extends AbstractPhysicsDebugControl {
|
||||
dirGeom.setLocalTranslation(location);
|
||||
axleGeom.setLocalTranslation(location.add(direction));
|
||||
wheelGeom.setLocalTranslation(location.add(direction));
|
||||
locGeom.setMaterial(debugAppState.DEBUG_GREEN);
|
||||
dirGeom.setMaterial(debugAppState.DEBUG_GREEN);
|
||||
axleGeom.setMaterial(debugAppState.DEBUG_GREEN);
|
||||
wheelGeom.setMaterial(debugAppState.DEBUG_GREEN);
|
||||
locGeom.setMaterial(debugAppState.DEBUG_MAGENTA);
|
||||
dirGeom.setMaterial(debugAppState.DEBUG_MAGENTA);
|
||||
axleGeom.setMaterial(debugAppState.DEBUG_MAGENTA);
|
||||
wheelGeom.setMaterial(debugAppState.DEBUG_MAGENTA);
|
||||
suspensionNode.attachChild(locGeom);
|
||||
suspensionNode.attachChild(dirGeom);
|
||||
suspensionNode.attachChild(axleGeom);
|
||||
|
Loading…
x
Reference in New Issue
Block a user