Multiple input key press actions

Thanks alot for your help!

I tried to create something similar without the code being in a different class (thanks for “over-formalising” it!!). It seems the easiest approach. So when I’d call shoot function I just setup a switch there and based on the movementdirection also set the bullet’s velocity?

About the sockets tho… Right now I’m switching between socket locations whenever I look up with my character. But as “looking up” is axis based input event, it fires all the time and constantly sets location to either one of those socket locations. But as I see it now, there should be “look-up” animation separately and the sockets could be just bound to those animations so I shouldn’t switch between socket locations repeatedly. But when animation state changes, also the weapon location changes.

Thanks for your help once again!

With regards!