MinieLibrary/src/main/java/com/jme3/bullet/BulletAppState.java
/**
     * Stop physics after this state is detached.
     */
Stop physics after this state is detached.
Stop physics after this state is detached .
public void stopPhysics() {
        if (!isRunning) {
            return;
        }
        if (executor != null) {
            executor.shutdown();
            executor = null;
        }
        PhysicsSpace pSpace = debugConfig.getSpace();
        pSpace.removeTickListener(this);
        setPhysicsSpace(null);
        setRunning(false);
    }
public void stopPhysics ( ) { if ( ! isRunning ) { return ; } if ( executor != null ) { executor . shutdown ( ) ; executor = null ; } PhysicsSpace pSpace = debugConfig . getSpace ( ) ; pSpace . removeTickListener ( this ) ; setPhysicsSpace ( null ) ; setRunning ( false ) ; }
Stop physics after this state is detached.
Stop physics after this state is detached .