|
Post by lmichelle98 on May 25, 2019 9:33:37 GMT
Hi there,
I am trying to create some sort of Endless runner type of game. The player should only be able to control the horizontal axis. On the character's V Third Person Input script's Input manager, I have only horizontal axis enabled. My problem is that I can't get the character to walk automatically forward. I tried making a script where I set the rigidbody's velocity. If I disable the V Third Person Input script component, it works, however, I then can't use the horizontal input. Of course, animations don't work either. The moment I put the V Third Person Input Script on again, my self-made script doesn't work.
I then tried using the Events of the V Third Person Input script, but that doesn't work either.
Does anyone know how to get this working?
|
|
|
Post by Invector on May 28, 2019 12:29:01 GMT
You could limit the camera horizontal angle and set the character to walk on Strafe mode so it won't turn around
|
|
|
Post by sophie1000 on May 4, 2021 9:40:30 GMT
UP ! I would like to do the exact same thing as lmichelle98, but i don't really get the answer. What kind of script could we add to get the character automatically move forward ? Thank you
|
|