[Help] Math pie mmm yum!

Hey guys. I was wondering if anyone could explain to me how I could get an MC to “shoot” in the direction of an arrow that can be rotated 360 degrees. I did touch on this quite a while ago but my memory has decided to exclude me from its vast riches.

any help is appreciated thanks