added 3D rotation support to the RotateTo action