View Tutorial Content

Lesson 4.2 - Follow the Player

Tutorial
Beginner
+10 XP
1 Hour
(18026)
Overview
Skills
Live
Groups
For Educators
Summary
Overview:
The player can roll around to its heart’s content… but it has no purpose. In this lesson, we fill that purpose by creating an enemy to challenge the player! First we will give the enemy a texture of your choice, then give it the ability to bounce the player away... potentially knocking them off the cliff. Lastly, we will let the enemy chase the player around the island and spawn in random positions.
Project Outcome:
A textured and spherical enemy will spawn on the island at start, in a random location determined by a custom function. It will chase the player around the island, bouncing them off the edge if they get too close.
Select your Unity version
Last updated: June 14, 2021
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
Language
English
Also included in
Overview Video
Overview
Lesson 4.2 - Follow the Player
0 Secs
Lesson 4.2 - Follow the Player