@Override
    public void simpleInitApp() {
        bulletAppState = new BulletAppState();
        stateManager.attach(bulletAppState);
        bulletAppState.setDebugEnabled(true);
        setupKeys();
        setupJoint();
    }
Tests attaching ghost nodes to physics nodes via the scene graph
@author normenhansen
jme3-examples/src/main/java/jme3test/bullet/TestAttachGhostObject.java