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

@return the pre-existing quaternion (not null)
jme3-jbullet/src/main/java/com/jme3/bullet/control/RigidBodyControl.java