MinieExamples/src/main/java/jme3utilities/minie/test/TargetDemo.java
/**
     * Create and configure a new PhysicsSpace.
     */
Create and configure a new PhysicsSpace.
Create and configure a new PhysicsSpace .
private void configurePhysics() {
        DebugShapeFactory.setIndexBuffers(200);
        bulletAppState = new SoftPhysicsAppState();
        bulletAppState.setDebugEnabled(true);
        bulletAppState.setDebugInitListener(this);
        bulletAppState.setDebugShadowMode(
                RenderQueue.ShadowMode.CastAndReceive);
        stateManager.attach(bulletAppState);
        float gravity = status.gravity();
        setGravityAll(gravity);
    }
private void configurePhysics ( ) { DebugShapeFactory . setIndexBuffers ( 200 ) ; bulletAppState = new SoftPhysicsAppState ( ) ; bulletAppState . setDebugEnabled ( true ) ; bulletAppState . setDebugInitListener ( this ) ; bulletAppState . setDebugShadowMode ( RenderQueue . ShadowMode . CastAndReceive ) ; stateManager . attach ( bulletAppState ) ; float gravity = status . gravity ( ) ; setGravityAll ( gravity ) ; }
Create and configure a new PhysicsSpace.
Create and configure a new PhysicsSpace .