Unity Learn home
View Tutorial Content

Lesson 2.4 - Collision Decisions

Tutorial
Beginner
+10 XP
50 Mins
(1358)
Overview
For Educators
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.
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: January 03, 2024
2022.3
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
Language
English
Overview Video
Overview
Lesson 2.4 - Collision Decisions
0 Secs
Lesson 2.4 - Collision Decisions