Sign in to follow this  
Jamoflaw

physics prediction

Recommended Posts

Jamoflaw    159
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

Share this post


Link to post
Share on other sites
Shinkage    595
[url="http://en.wikipedia.org/wiki/Trajectory_of_a_projectile#Angle_.CE.B8_required_to_hit_coordinate_.28x.2Cy.29"]http://en.wikipedia....ate_.28x.2Cy.29[/url]

If you want damping such as from wind resistance, it's going to involve solving a differential equation.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this