Parabolic movement between two points
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.
have you tried using timelines? then you could use a curve to define location over time. i made one where the x and y value was a lerp and the z value went from the starting point to start +500 then back to starting height. it should be pretty easy to implement
Follow this question
Once you sign in you will be able to subscribe for any updates here