Hello!
The level setup is a roller coaster with a spline on X axis doing curves up and down.
Both camera and pawn follows this spline, but pawn is free to move on YZ directions.
My question is, in this case how do I make to avoid the pawn going out of screen?
I’m new to unreal and I’ve tried without a solid success, few shenanigans to solve like hollow blocking volumes or a invisible mesh near the pawn both also following to the spline.
I hope if someone have a more neat solution, any help is appreciated, thank you.
http://i.imgur.com/ynrWS4H.gif
pawn going out of screen.
http://i.imgur.com/KfFvhhd.gif
the camera follows the spline rotation, here the camera rotated up and the pawn went off screen.