Getting direction of characters movement based on velocity?

Ok… so the above will give you the total velocity speed and rotation of the character in 3d… in world space.

You can also get the forward/backwards, up/down and left/right velocity speed… relative to the direction the character is facing… is this what you are looking for?

PS. props to @anonymous_user_07b2b30b for perhaps a more efficient/elegant solution than my original one…

10 Likes