Getting direction of characters movement based on velocity?

if I understand what you are asking… I think this is fairly straightforward…

You are using a player Character actor… right? From the character movement component, draw out get velocity, then rotation from x vector… this will give you the direction as the world rotation of your characters velocity.

PS. if you’d like to get the magnitude of velocity (speed) of your character just draw out vector length

PPS. you can do a similar thing with a pawn or even an actor, it’s just that character has it’s own special velocity check built in so it might be more performance efficient

6 Likes