3D trajectory (more physics)
Okay, I've been working on this for awhile and can't seem to get it right.
What I'm trying to do is send a projectile (think soccer ball, or ballistics without a cannon, or firing mechanism) on a 3d trajectory.
What I have:
time (I'm using a loop that returns how much time has past from first frame to the current)
Angle of height (think x and y angle. basically this is the angle to the horizon)
Angle of swivel (this is the angle away from the viewer. I begin with my object in the lower left hand corner of screen, so a 45 degree (yes I know flash uses radians) angle would be swivel INTO your screen away from the X axis.
Velocity
Initial position (obviously)
Scale (I think this is what is ultimately screwing me up, so anyone who can explain a trajectory in terms of scale would be appreciated.)
I KNOW I have all the variables needed including gravity, no wind resistance, yet I can't seem to get this to work. PLEASE don't just post a few physics formulas. . . I've got more than I can handle as is. I just can't make sense of it. If anyone needs the source code, I'll be happy to share it.
Thanks