Games don't always have a character as the main player. Sometimes, games have vehicles as the main player and sometimes characters ride in vehicles, during parts of the gameplay. Unity3D provides support for wheeled vehicles through a special wheel collider that allows us to create vehicles with realistic physics.
Once we understand the basics of using a four-wheeled vehicle in Unity3D, it becomes a straightforward task to create any kind of vehicle for any kind of game in which a vehicle can add to the enjoyment of the gameplay. Whether it's a car, a tank, or a motorcycle, Unity3D can make it go. In this chapter, we will learn the following: