added global rotation and rotation velocity