Timeline for Calculating trajectory
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 27, 2013 at 17:05 | vote | accept | user1062704 | ||
| Sep 27, 2013 at 14:45 | history | edited | Drew Cummins | CC BY-SA 3.0 | added 155 characters in body |
| Sep 27, 2013 at 14:42 | comment | added | Drew Cummins | You can (and should) still use the equation I provided, even if you're rendering and hence need to loop; what you've implemented is a numerical approximation of what I've given you and is not physically correct, though it's fine in most circumstances. I'll edit my answer to include scaling. | |
| Sep 27, 2013 at 14:26 | comment | added | user1062704 | I have not tested the equation you provided, although in this case I will have to do this by looping. With an initial velocity of 30 m/s and an elevation of 60 degrees (later converted to radians) I will get the result about 80~ meters (posx). Now what I mean by scaling is that I need to be able to draw this on the screen (hence the looping) and I don't want 1 pixel to represent 1 m in the calculation (imagine how much space) but every 5 m in the calculation should correspond to 1 pixel, e.g. 1 m - on the screen -.. is this better explained? | |
| Sep 27, 2013 at 14:06 | history | answered | Drew Cummins | CC BY-SA 3.0 |