View Tutorial Content

Lesson 4.2 - Follow the Player

Tutorial
Beginner
+10 XP
1 Hour
(8270)
Overview
Skills
Live
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: January 22, 2021
2019.3
2019.2
2019.1
2018.4
Language
English
Also included in
Lesson 4.2 - Follow the Player