Lab 10: Driving With Acceleration
- Lets change the game so that it has acceleration.
- Add a velocity vector. Initially this is zero.
- Add an acceleration vector also initially zero.
- Make velocity change position. (4 points)
- Change the up and down from movement to acceleration.(1 point)
- Make acceleration change velocity. (1 point)
- Make it stop when it runs off the track.(2 points)
- Try to integrate traction. First try constant
deceleration, (1 point)
- then try friction (I got it working with constant
deceleration). (1 point)