- Home /
Move around bends in racing game.
Hi, I have had a bit of trouble lately trying to get my player to automatically follow bends/turns in a tunnel track.
Here's my setup:
So how can I make my center rotation gameobject follow bends automatically?
If anyone has no clue on how this game would work, here's an example: Youtube link
@$$anonymous$$rRandomFella:
Is your problem solved? If so could you tick an answer as solution?
If non answer of the answers was the solution, you might want to write an answer yourself explaining what you did and accept this answer.
Answer by Bunny83 · Mar 30, 2014 at 10:35 AM
Well, the game you linked obviously uses some kind of (spline-) path which is probably also used to actually create the track itself procedurally. The "center object" is simply following that path. You might have a look at the iTween package. Take a look at the 3. example (Path-constrained Characters)
Your answer
Follow this Question
Related Questions
Allign player to walls? 0 Answers
Camera rotation around player while following. 6 Answers
Follow camera: Player jumps on move 1 Answer
just need it to follow on y 1 Answer
Instantiate a prefab and follow player position in runtime? 0 Answers