How do I limit movement in UE4?

I’m testing from the Vehicle Advanced Template in UE4 4.22.3.
I succeeded by modifying the method you told me, but there is a problem.
x,y,z all the rotations are locked.
The vehicle always tries to keep level.
But location limit works properly.

When I connect the GetPlayerController to the GetActorLocation, I don’t know why the player pawn’s position changes when I play the game.
But disconnect, it works fine.
I’m trying in many ways, but I haven’t finished it yet.

If I use splines, won’t there be problems with the jump?