Hello,
So for a game I am making I need a formula for trajectory. Basically a canon fires at a certain angle and I need a formula to convert that into a path.
The information given is:
Weight
Angle
Power (which could be converted into speed)
If anyone could help me by posting their answer in scratch blocks maybe? It would help a lot.
Thanks
Last edited by feasby007 (2012-09-23 08:17:38)
Offline
This uses a parabolic arc which should be what you want. Download to see the scripts.
Credits are in the project notes.
[EDIT: I can't type out the script. It's too long and complicated to type.]
Last edited by jontmy00 (2012-09-23 08:20:50)
Offline