protected Quaternion getSpatialRotation() {
        if (applyLocal) {
            return spatial.getLocalRotation();
        }
        return spatial.getWorldRotation();
    }
Access whichever spatial rotation corresponds to the physics rotation.

@return the pre-existing quaternion (in physics-space coordinates, not
null)
jme3-jbullet/src/main/java/com/jme3/bullet/control/AbstractPhysicsControl.java