@Override
    protected void removePhysics(PhysicsSpace space) {
        assert added;

        PhysicsRigidBody rigidBody;
        if (torsoLink != null) {
            rigidBody = torsoLink.getRigidBody();
            space.remove(rigidBody);
        }

        for (BoneLink boneLink : boneLinks.values()) {
            rigidBody = boneLink.getRigidBody();
            space.remove(rigidBody);

            PhysicsJoint joint = boneLink.getJoint();
            space.remove(joint);
        }
    }
Remove all managed physics objects from the PhysicsSpace.
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacLinks.java