Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3d Parabolic Trajectory

I'm trying to figure out some calculations using arcs in 3d space but am a bit lost. Lets say that I want to animate an arc in 3d space to connect 2 x,y,z coordinates (both coordinates have a z value of 0, and are just points on a plane). I'm controlling the arc by sending it a starting x,y,z position, a rotation, a velocity, and a gravity value. If I know both the x,y,z coordinates that need to be connected, is there a way to calculate what the necessary rotation, velocity, and gravity values to connect it from the starting x,y,z coordinate to the ending one?

Thanks.

EDIT: Thanks tom10. To clarify, I'm making "arcs" by creating a parabola with particles. I'm trying to figure out how to ( by starting a parabola formed by a series particles with an beginning x,y,z,velocity,rotation,and gravity) determine where it will in end(the last x,y,z coordinates). So if it if these are the two coordinates that need to be connected:

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

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

how can the rotation, velocity, and gravity of this parabola be calculated using only these variables start the formation of the parabola:

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

I am trying to keep the angle a constant value.

like image 530
minimalpop Avatar asked Jan 27 '10 05:01

minimalpop


People also ask

What is the difference between trajectory and parabolic?

This type of curved motion is called motion of projectile and the path is called trajectory. It is a parabola. This type of motion is two dimensional motion. If we ignore air-resistance motion of a projectile in due gravity only path of projectile is always parabolic.

How do you find the parabolic trajectory?

x(t) = (cosθ)v0t, where y(t) is the y-coordinate of the object at time t, x(t) is the x-coordinate of the object at time t, and g is the gravitational acceleration constant 9.8 m/s2.

What is parabolic trajectory of projectile?

A radial parabolic trajectory is a non-periodic trajectory on a straight line where the relative velocity of the two objects is always the escape velocity.

What is parabola in ballistics?

A ballistic trajectory is a parabola with homogeneous acceleration, such as in a space ship with constant acceleration in absence of other forces. On Earth the acceleration changes magnitude with altitude and direction with latitude/longitude.


1 Answers

This link describes the ballistic trajectory to "hit a target at range x and altitude y when fired from (0,0) and with initial velocity v the required angle(s) of launch θ", which is what you want, right? To get your variables into the right form, set the rotation angle (in the x-y plane) so you're pointing in the right direction, that is atan(y/x), and from then on out, to match the usual terminology for 2D problem, rewrite your z to y, and the horizontal distance to the target (which is sqrt(xx + yy)) as x, and then you can directly use the formula in link.

like image 149
tom10 Avatar answered Oct 19 '22 12:10

tom10