From cc623ef44a89aaf7c7e542f59477b1783858cdeb Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 5 Feb 2013 19:26:02 +0000 Subject: [PATCH] - 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 --- .../com/jme3/bullet/debug/BulletVehicleDebugControl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/bullet-common/com/jme3/bullet/debug/BulletVehicleDebugControl.java b/engine/src/bullet-common/com/jme3/bullet/debug/BulletVehicleDebugControl.java index 9b1458c2c..f7adf1208 100644 --- a/engine/src/bullet-common/com/jme3/bullet/debug/BulletVehicleDebugControl.java +++ b/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);