MinieLibrary/src/main/java/com/jme3/bullet/BulletAppState.java
/**
     * Update this state prior to rendering. Should be invoked only by a
     * subclass or by the AppStateManager. Invoked once per frame, provided the
     * state is attached and enabled.
     *
     * @param tpf the time interval between frames (in seconds, &ge;0)
     */
Update this state prior to rendering. Should be invoked only by a
subclass or by the AppStateManager. Invoked once per frame, provided the
state is attached and enabled.

@param tpf the time interval between frames (in seconds, ≥0)
Update this state prior to rendering . Should be invoked only by a subclass or by the AppStateManager . Invoked once per frame provided the state is attached and enabled . @param tpf the time interval between frames ( in seconds ≥0 )
@Override
    public void update(float tpf) {
        super.update(tpf);
        this.tpf = tpf;
        boolean enable = debugConfig.isEnabled();
        if (enable && debugAppState == null) {
            /*
             * Start debug visualization.
             */
            debugAppState = createDebugAppState();
            stateManager.attach(debugAppState);
        } else if (!enable && debugAppState != null) {
            /*
             * Stop debug visualization.
             */
            stateManager.detach(debugAppState);
            debugAppState = null;
        }
        PhysicsSpace pSpace = debugConfig.getSpace();
        pSpace.distributeEvents();
    }
@ Override public void update ( float tpf ) { super . update ( tpf ) ; this . tpf = tpf ; boolean enable = debugConfig . isEnabled ( ) ; if ( enable && debugAppState == null ) { /*
             * Start debug visualization.
             */ debugAppState = createDebugAppState ( ) ; stateManager . attach ( debugAppState ) ; } else if ( ! enable && debugAppState != null ) { /*
             * Stop debug visualization.
             */ stateManager . detach ( debugAppState ) ; debugAppState = null ; } PhysicsSpace pSpace = debugConfig . getSpace ( ) ; pSpace . distributeEvents ( ) ; }
Update this state prior to rendering.
Update this state prior to rendering .