瀏覽代碼

- 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 年之前
父節點
當前提交
cc623ef44a
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      engine/src/bullet-common/com/jme3/bullet/debug/BulletVehicleDebugControl.java

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