Game Development Reference
In-Depth Information
Figure 7-15. Experimental and computed soccer ball lift coefficients
Free-Kick Game
Let's use what we know about the flight of a soccer ball to create a “free kick” game. You have
been given a free kick at a spot 20 m for your opponent's goal. Five defenders (represented by
black dots) will attempt to block your shot with their bodies. It is your job to select the initial
velocity and spin values of your kick so you can score a goal. The user can also select the spin
axis, which will affect the direction of the Magnus force. A sample screen shot of the Free-Kick
Game is shown in Figure 7-16.
Figure 7-16. The Free-Kick Game screen shot
 
Search WWH ::




Custom Search