Unity Learn home
View Tutorial Content

Lesson 1.2 - Pedal to the Metal

Tutorial
Beginner
+10 XP
1 Hour10 Mins
(10631)
Overview
For Educators
Summary

Overview:

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.
Select your Unity version
Last updated: April 18, 2023
2021.3
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
Language
English
Overview Video
Overview
Lesson 1.2 - Pedal to the Metal
0 Secs
Lesson 1.2 - Pedal to the Metal