Unity Learn home
View Tutorial Content

Lesson 2.4 - Making Collision Decisions

Tutorial
Beginner
+10 XP
50 Mins
(43)
Overview
Summary
Overview:
Our game is coming along nicely, but there are are some critical things we must add before it’s finished. First off, instead of pressing S to spawn the animals, we will spawn them on a timer so that they appear every few seconds. Next we will add colliders to all of our prefabs and make it so launching a projectile into an animal will destroy it. Finally, we will display a “Game Over” message if any animals make it past the player. At the end of this lesson, you will continue to practice creating test scripts to enhance your QA tester skills.
Project Outcome:
The animals will spawn on a timed interval and walk down the screen, triggering a “Game Over” message if they make it past the player. If the player hits them with a projectile to feed them, they will be destroyed.
Select your Unity version
Last updated: July 13, 2020
2019.3
2019.2
2019.1
2018.4
Language
English
Lesson 2.4 - Making Collision Decisions