rotating character and then moving foward in that direction
I have a player character and so far I have the character moving forward and backward and was able to get the camera to turn independately from the characters movement controls. So if I'm moving forward with the keys I can use the mouse to look right while still looking forward. The issue I am having is that I was to be able to rotate the character using left and right and when I change the direction of the character the movement should now go in that new direction because X has now changed. Its like my character is ignoring the fact that its now rotated. Thanks
asked Nov 09 '18 at 12:57 AM in Using UE4
I'm not sure how you're setting your ForwardMovement variable, but the AddMovementInput node uses a normalized world-space vector, so your ForwardMovement variable should contain that.
To get the normalized world-space vector, use the Get Actor Forward Vector node.
answered Nov 09 '18 at 01:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here