Endless Runner: centering the player on a lane after turning a corner

I don’t really know your setup, so it’s hard to give you exact code. But let’s say the player is always running forward on X, Z never changes, so it’s Y you have to control.

Then, you need to home in on the Y coordinate of the arrow for the lane, a bit like this:

( You do this in addition to whatever you’re already doing to get the character to move forward ).