|
![](/i/fill.gif) |
> Ok, in 2d, ballistic, easier, first:
>
> y = a.t.t + b.t + c
> x = d.t
>
> (t = clock !)
>
> you will have to resolve the system for the initial speed vector
> ( dx & dy at t=0 ), using the target and initial position.
> There is an infinity of solution without the speed, because
> the curve is a parabol and you have only two poind.
> speed fix the tangent and the length of speed should be
> adjusted according to the gravity intensity.
Ooops, I forget to push gravity in the system:
Obviously: a = -g/2
Post a reply to this message
|
![](/i/fill.gif) |