How to make a 2d (sprite) character aim a gun based on where the mouse is in UE5

I’m very new to UE5. I’ve only tried UE4 a handful of times, so you could say I basically am new to this engine (or any engine). I’m planning on creating a 2d platformer and my character will have a gun/guns. I don’t want the gameplay to be my character shooting in a liner line, but rather wherever the mouse is pointing at. This means that I need the character to aim its gun towards the mouse. Do I need to rig the character to achieve this? If so, how will my run, jump, idle etc. animations work along side the rigged upper body. Like I said, I’m very new to game engines, so a step-by-step would mean the world to me!

1 Like