COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium, from March 19 to June 20, 2020.
Just log in to start learning.

Lesson 1.2 - Pedal to the Metal

1 Hour10 Mins
For Educators
In this lesson you will make your driving simulator come alive. First you will write your very first lines of code in C#, changing the vehicle’s position and allowing it to move forward. Next you will add physics components to your objects, allowing them to collide with one another. Lastly, you will learn how to duplicate objects in the hierarchy and position them along the road.
Project Outcome:
You will have a moving vehicle with its own C# script and a road full of objects, all of which may collide with each other using physics components.
Recommended Unity versions
2018.4 and Above
Lesson 1.2 - Pedal to the Metal