Game Development Reference
In-Depth Information
Listing 44: A script to handle user input that controls the vehicle
This script is fairly simple; all it has to do is to read the state of keyboard keys and call the
matching function from PhysicsCarDriver attached to the same object (root of the vehicle).
The last script we are going to add to the vehicle is CarSpeedMeasure , which measures the
Search WWH ::




Custom Search