The function Draw renders the 3D Model on the screen.The function UpdateCamera updates the viewMatrix according to the position and orientation of car.The member model represents the 3D Model of the body.Storing this is necessary to achieve the effect of camera delay.
VISUAL STUDIO 2008 LICENSE COST CODE
I am only providing an overview of the member variable and function since the code is fairly straight forward. If you go through the code, you will see that I have tried to encapsulate everything required to store information of any material body and render it on screen. The class Game1 is the main application and uses objects of Stuff and Car. The class Car is a specialization of the Class Stuff which represents a Car. The class Stuff represents any material body that can be rendered on the screen. The application has been divided into three classes Game1, Stuff, Car. Reasonable Knowledge of Newtonian Mechanics and Geometry is necessary to understand the formulas. The concept of Quaternions should be clearly understood. But for now, the first 2 tutorials are sufficient.
Reading all the 3 tutorials will give you a very good understanding of XNA. These tutorials are fairly easy to comprehend. Go through the 'XNA Game Studio Documentation', especially the articles 'Your First Game: Microsoft XNA Game Studio in 2D' and 'Going Beyond: XNA Game Studio in 3D'.All these can be downloaded free of cost from