How do move automatically a player along the path?
Hello! I need to automatically move a player along the path. On a scene, I have the player(let's have a sphere) and the curved path(a lot of turns, ups, and downs), and camera(third person). Have a look at an attached screenshot:
I need to automatically move the player from a start point to an endpoint. And I need to do it by my path/trajectory.
A few clarifications: - Users will not interact with the player - I don't care about gravity - I know the coordinates of the start and endpoints. - Different levels will have different paths.
I've tried NavMesh, but I not happy with this solution due to problems with the player(and correspondingly camera) rotation. Maybe I just screwed up with the settings of the NavMesh.
I will be very thankful if someone will advise me on the best way to implement the player movement for my case.
Maybe, someone has some code examples to move the player by the center of the surface of a custom model, or just advise how to setup NavMesh, or a link to a good tutorial, or something else.