Hi everyone, I’m inspired by Deer and boy to make a game with similar gameplay, I like how it’s mostly a side scroller but has moments where the path changes, it’s not always completely left to right. I’ll share a clip of an example. How can i achieve something this? Do i need the player following a spline?
I haven’t tried doing this in my 2.5D side project yet, but I imagine you’d just find closest point on a spline to player’s world loc, get that point’s direction, and feed it to move input or something. Maybe get the closest spline point in tick and set player x and y loc via interp so it doesn’t drift during non-input movement like falling or knockbacks?
I’m still a noob at unreal so i tried following this video https://www.youtube.com/watch?v=2g3WTR6PqZY. it’s quite old, but sort of works, only issue i have is that you can’t run backwards on the spline when u add the last part. If you have time do you mind scanning through it and checking it out?