Răsfoiți Sursa

- 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
nor..67 12 ani în urmă
părinte
comite
cc623ef44a

+ 4 - 4
engine/src/bullet-common/com/jme3/bullet/debug/BulletVehicleDebugControl.java

@@ -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);