schiho Posted December 22, 2014 Share Posted December 22, 2014 I just used a very simple formula http://en.wikipedia.org/wiki/Trajectory_of_a_projectile to calculate the trajectory of a projectile, when angle and target is given and velocity is searched. It seems to work, but i have slight errors, this error is getting more if the distance is higher. Any suggestions? Regards TrajectoryCalculation.hipnc Quote Link to comment Share on other sites More sharing options...
eetu Posted December 23, 2014 Share Posted December 23, 2014 I took a long look at this and couldn't really figure out what's wrong. Your math seems to be correct, so DOPs really should match the result, but I can't get it to do that either. In my opinion this is worth reporting as a bug, something this simple really should match the real world. Quote Link to comment Share on other sites More sharing options...
wandersonp Posted February 13, 2015 Share Posted February 13, 2015 I swaped the o variable inside CalculateTrajectory to math.radians(45) and is getting closer but not exactly same coordinate Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.