|
Re: Calculating Angle to fire at
So ignoring the fun stuff (air resistance, spin), suppose your ball's point of release is at the origin with velocity v0 and you want to hit the point (h,k) in the first quadrant. I quickly found a cubic equation which you can solve for theta. I'm sure you'll have fun learning how to solve cubics. Let me know if there's some algebra error. The general idea seems right.
__________________
Code Red Robotics Team 639 Alumnus | www.team639.org
<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
|