3D parabolic trajectory

I am trying to calculate some calculations using arcs in 3d space, but have lost a bit. Suppose I want to animate an arc in 3d space to connect 2 x, y, z coordinates (both coordinates have a value of z 0 and are points on the plane). I control the arc by sending it the initial position x, y, z, rotation, speed and gravity. If I know the x, y, z coordinates that need to be connected, is there a way to calculate what necessary values ​​of rotation, speed and gravity connect it to the initial coordinate x, y, z to the final one?

Thanks.

EDIT: Thanks tom10. To clarify, I make arcs by creating a parabola with particles. I am trying to figure out how (by launching a parabola formed by partial particles with the beginning of x, y, z, speed, rotation and gravity), to determine where it will be at the end (the last coordinates x, y, z). Therefore, if these are two coordinates that need to be connected:

x1=240;
y1=140;
z1=0;

x2=300;
y2=200;
z2=0;

how can we calculate the rotation, speed and gravity of this parabola, using only these variables, start the formation of the parabola:

x1=240;
y1=140;
z1=0;
rotation;
velocity;
gravity;

I try to keep the angle constant.

+5
source share

All Articles