Work out the angle required to reach point x

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
jamoflaw
Posts: 7
Joined: Sun Jun 20, 2010 7:19 pm

Work out the angle required to reach point x

Post by jamoflaw »

Hello all!

I can't seem to find anything on this (I remember very very vaguely in mechanics at school covering something along these lines but am not 100% sure!!) I am looking to work out the angle required to reach a certain point ie:

Object x fired from point 0,0 needs to collide with point 100,100. Obviously there is gravity involved etc so a direct look at vector / raycast is not what I am looking for here.

I had a look at convexSweepTest but it looked quite complex for the requirements :s

Hope you can help!

James
Post Reply