Unity Learn home
View Tutorial Content

Lesson 4 - Step into the Driver's Seat

Tutorial
Beginner
+0 XP
50 Mins
Overview
For Educators
Summary
Overview:
In this lesson, we need to hit the road and gain control of the vehicle. In order to do so, we need to detect when the player is pressing the arrow keys, then accelerate and turn the vehicle based on that input. Using new methods, Vectors, and variables, you will allow the vehicle to move forwards or backwards and turn left to right.
Project Outcome:
When the player presses the up/down arrows, the vehicle will move forward and backward. When the player presses the left/right arrows, the vehicle will turn.
Select your Unity version
Last updated: December 29, 2023
2022.3
2019.3
2019.2
2019.1
2018.4
Language
English
Lesson 4 - Step into the Driver's Seat