UE5 Mouse position Enhanced Input

Hello! I’m workin on top-down game, movement works with WASD and i want to control character rotation with mouse (If the cursor is on one side, but you are moving in the opposite direction, the character moves with their back facing forward). I found the solution with tick event:

But I don’t like this solution, because it works even if the game is paused. I would like to know, is it possible to do it another way?

I was trying to update mouse position with a tick event and then call the IA_Look, but it working bad (Character rotating only if any mouse button pressed and then character is shaking) Here is my anothe solution:


image

1 Like

Did you find a solution to this? I’m having the exact same problem with the character shaking and it requires the user to press the mouse button. I think it’s using delta position rather than mouse position as well.

Hello! Sorry, wasn’t here for a while. The reason for this problem is the Movement component inside of your character. It has box “rotate in the direction of movement” or something like this. Uncheck it, and your character will move as he should.

1 Like

And yes, you are right.=)