Hi, I made a character that uses wsad input to rotate. Now I would like to make that char move forward after spawning and use wsad to change the direction in which it will move. Basicaly to use wsad for steering.
How can I do that?
You’re asking about something that must have been done who knows how many times…
https://www.youtube.com/results?search_query=ue5+wasd+movement
In short:
Add Controller Yaw
Input to rotateAdd Movement Input
along a forward vector to move forth and back
Well I just started with unreal so… but I think you dont understand what i mean… I dont want to use w,s input to go forward and back , i use w,s to rotate up and down. I want the char to start moving by itself after spawning and and also not only to a certain location or only on one axis.
Basic idea is to have a flying char that you steer (rotate) so that it doesnt crash into obstacles.
but I think you dont understand what i mean
I did not, indeed. However, my answer stays pretty much the same:
I want the char to start moving by itself
- on
Tick
:Add Movement Input
along a forward vector to automatically traverse in the facing direction - use Enhanced Input to
Add Controller Yaw/Pitch
Input to rotate
Yeah I didnt explain it properly… my bad.
I got it now so thank you very much.