The objective was to create a steerable box car that is controllable via the arrow or WSAD keys. Shift activates turbo for a brief period of time and becomes less powerful over time. The camera does a dynamic pull back when turbo is activated and is based on the cars velocity. The car engine noise also changes in pitch as the cars velocity increases or decreases.
There were a number of ways I could have gone about creating a steerable car demo ranging from simply manipulating a game objects transform values to creating my own car handling engine. In the end, however, I chose to use Unity’s built-in PhysX Physics engine, which is typically the most practical choice anyway.
Unity’s physics engine involves the use of Rigidbodies to simulate physical interactions with objects. Combined with Unity’s Wheel Collider component that provides collision detection and tire physics, I was easily able to get a basic car up and running within minutes.
You will need to download the Unity Player Plugin if you haven't already.