In my game, I have an actor that when interacted with, it will jump you to another specified actor. Basically, I set it up so that the game will lerp between the position of the first and second actor. It works okay, but I’m looking to try a different effect so that you don’t clip through walls. Rather than a straight line from point A to point B, I want to do a parabola to give the effect that the character is actually jumping in a preset path between the two points. Basically, the effect is something like you’d see in cutscene-style parkour in an RPG.
I’ve tried splines already, but given that pairs of points are not going to be the same distance from each other all the time, I’m not sure if it’s actually time effective to have to redraw the spline for every pair of these points. I’m just curious if there is a way to interpolate a parabolic movement.