How to lock character on a spline path

Hello i was wandering how can i lock my character to a spline, the character is 3d controlled however i have disabled the camera and the up down keys so he only goes left and right using a camera but how can i lock the character 3d or 2d to go on a spline path.
BTW: I followed this tutorial but it wasn’t working: Tutorial: Blueprint Spline locked sidescroller (e.g. Klonoa / Pandemonium style game) - Programming & Scripting - Unreal Engine Forums(e-g-Klonoa-Pandemonium-style-game
How to follow a spline - Programming & Scripting - Unreal Engine Forums

Hi there.

I have completed that TUT and worked fine.

Czn you post some scripting for us to look at, see if we can see anything?

Sorry for the late reply, it’s not really changed! just a branch disabling the forward key if in 2d mode so the right and left keys work only, not sure i should keep that though. Sorry but i didn’t have any practice with splines and my knowledge is basic :confused: