Hi Everyone!
I’m trying to create a 2D platformer shooter game. My goal is to create a mechanic where a character will aim and shoot towards the mouse cursor (basically 360*). I went through all possible references for the past 10 years but somehow I’m still stuck.
Some context: I’m currently using a “Muzzle” component to rotate the direction of shooting. Later on it will be a character arm with a weapon. I have a feeling that my cursor is moving in 3D space instead of 2D, but even though I manage to rotate only 180*.
Please help, I’m really desperate
Here is my blueprint for shooting mechanic:
Here is my blueprint for aiming mechanic: