This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2012/11/4

Flight Trajectories Demo

This demo contains two methods of calculating the movement of a projectile in flight. One is based on distances, the other on speeds. You can set the angle and power, as well as toggle between the two movement methods. The gold balls are run by the 'distance method' and the steel balls are run by the 'speed method'.

3051 views / 20 in the last 7 days

5 votes | 0 in the last 7 days

Tags: simulation demo with-source gravity danpost flight projectile trajectory

This scenario is a member of: Demos by danpost


open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

Game/maniacGame/maniac

2012/11/4

what is the difference between the distance and speed method
Game/maniacGame/maniac

2012/11/4

except for the colour
danpostdanpost

2012/11/4

In their trajectories, none. In the way the movement is calculated, a lot.
Game/maniacGame/maniac

2012/11/4

oh so I would have to have the code to see the difference
danpostdanpost

2012/11/4

Yes. The code is open source to view; and it is fairly well documented.
A new version of this scenario was uploaded on Mon Nov 05 11:25:05 UTC 2012 Better documentation. Improved SwitchBar code.
A new version of this scenario was uploaded on Sat Nov 10 13:10:33 UTC 2012 Added wind into the Speed method calculations.

Want to leave a comment? You must first log in.

Who likes this?

wnagai kevv Wavesludge miles7191 Game/maniac