Hello
I'm trying to make a sidescroller game but I have the problem that the gun is not pointing to the mouse position/crosshair.
Can someone help me to get the gun pointing the right way I have already searched around but found nothing that solves my problem.
It would be good if someone had a video or an image of how to solve this because I am still learning how everything works.

I'm trying to make a sidescroller game but I have the problem that the gun is not pointing to the mouse position/crosshair.
Can someone help me to get the gun pointing the right way I have already searched around but found nothing that solves my problem.
It would be good if someone had a video or an image of how to solve this because I am still learning how everything works.
Comment