|
|
|
@ -102,7 +102,6 @@ public class PhysicsSpace { |
|
|
|
|
private Vector3f worldMax = new Vector3f(10000f, 10000f, 10000f); |
|
|
|
|
private float accuracy = 1f / 60f; |
|
|
|
|
private int maxSubSteps = 4, rayTestFlags = 1 << 2; |
|
|
|
|
private AssetManager debugManager; |
|
|
|
|
|
|
|
|
|
static { |
|
|
|
|
// System.loadLibrary("bulletjme");
|
|
|
|
@ -959,29 +958,6 @@ public class PhysicsSpace { |
|
|
|
|
this.worldMax.set(worldMax); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Enable debug display for physics. |
|
|
|
|
* |
|
|
|
|
* @deprecated in favor of BulletDebugAppState, use |
|
|
|
|
* <code>BulletAppState.setDebugEnabled(boolean)</code> to add automatically |
|
|
|
|
* @param manager AssetManager to use to create debug materials |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
public void enableDebug(AssetManager manager) { |
|
|
|
|
debugManager = manager; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Disable debug display |
|
|
|
|
*/ |
|
|
|
|
public void disableDebug() { |
|
|
|
|
debugManager = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public AssetManager getDebugManager() { |
|
|
|
|
return debugManager; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static native void initNativePhysics(); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|