Wondering best way to change direction of character in Endless Runner gsme
I'm building an haunted endless runner game and I am wondering when the character arrives at a corner should i make the world turn or the player with the camera attached ? At the moment my player can move left and right on the x axis. I am using: **moveVector.x = Input.GetAxisRaw("Horizontal") speed; to achieve this. I am also using prefab tiles as the ground with obstetrical that spawn directly in front of the player 5 at a time. Now because I'm already using moveVector.x = Input.GetAxisRaw("Horizontal") speed; to move left and right to avoid obstetrical should i have trigger that changes the direction of the player ? I'm unsure which is the best route to take and i would really appreciate any advice on hoe to proceed.
Thanks in advance Seanore
Answer by eagleeyez · Feb 23, 2020 at 10:07 AM
look for 2.5D platformer from Redbee on the asset store that does exactly what you want.
Your answer
Follow this Question
Related Questions
System Equipment and Changing Clothes in 2d Endless Runner Game ? 0 Answers
How to destroy only the collided instance of prefab and not the original one? 0 Answers
Endless - Slight gaps that I cannot explain 0 Answers
I want to make 3 mini games in one app. how can i do that? Please Help 1 Answer
I need a projectile obstacle 1 Answer