Travelling in an arc
Author |
Message |
cycro1234
|
Posted: Sat Oct 30, 2004 5:46 pm Post subject: Travelling in an arc |
|
|
Hello! It's me again! Is there any way to animate a ball travelling in an arc instead of a straight line? Thx in advance |
|
|
|
|
|
Sponsor Sponsor
|
|
|
AsianSensation
|
Posted: Sat Oct 30, 2004 7:12 pm Post subject: (No subject) |
|
|
yep, depends on how advanced of an arc you want the ball to travel in.
For simple ones, some cos and sin would do.
For a little more complex ones, equation of an ellipse, x^2/a^2 + y^2/b^2 = 1 should do.
For the most complex ones, which include things like starting veloctiy, starting angle, gravity, blah blah blah, google the formula (I don't remember it offhand) and just substitute x, solve for y, and draw it. |
|
|
|
|
|
cycro1234
|
Posted: Sat Oct 30, 2004 7:54 pm Post subject: (No subject) |
|
|
aight thx! |
|
|
|
|
|
|
|