I’m developing a 3D chess game in which I need to be able to calculate positions X,Y,Z of a trajectory in a way that this trajectory will describe a parabola (for the pieces animation).
Thus I need the formulas below (or the general formula) for the given equidistant points p1=(x1,y1,z1), p2=(x2,y2,z2) and p3(x3,y3,z3):
x=f(y,z)=???
y=f(x,z)=???
z=f(x,y)=???
For each component
x,yandzconsider a separate parabola defined byat
t=0thenx=x1, att=0.5thenx=x2and att=1thenx=x2. Similarly fory(t)andz(t).