- #1

- 6

- 0

What would you set the x and y of an object when time ( t ) is updated, assuming you have these vars:

* angle ( a )

* velocity ( v )

* x0 ( initial x )

* y0 (initial y)

* Not sure if necessary, but if so gravity (g)

_____________________

Also, given a projectile at its initial position'(x0, y0) and angle 'a', how can I solve for the velocity (v) to make it pass through a point (x, y)?

Thanks.