Hello,
I am creating a 2-D side scroller. I want to be able to shoot in different directions based on where the mouse is. How do I calculate an angle from the player’s location and the mouse’s location? I was thinking something along the lines of Make Rot from XZ (I’m using these 2 axes). I’m not really sure how to set this up.Any help would be appreciate.
Thanks.