Using Splines to make a 3D runner game

Hello all, I’m a learning Game Dev who has just started with Unity. I’m making a runner game much like subway surfers, so I plan to have slide, changing lanes and jumping as mechanics for my game. I was thinking of using Splines to have my character move on one but i was struggling to change the character position to a certain offset to the left and right side of the spline(for when i want the character to change lanes). For now the player just stays in the lane and does nothing but follow the path and doesn’t leave the ground while jumping. Let me know if you guys know of a solution to this. I can post my script if you need me to

Thanks

You can use template or free asset from unity asset store. ( Endless Runner - Sample Game | Tutorials | Unity Asset Store )

1 Like

Hi Alexey! Thanks for the quick reply! The package you recommended is quite interesting, however I have already made the regular movement for my character with pickups and obstacles. I would like to learn to use Splines for the movement of my character though but there are surprisingly very few references i could find for it