Supporting our Community:
We’re making Learn Premium available to all users in perpetuity.
Start Learning.

World Interactions - Damage Zones and Enemies

Tutorial
Beginner
1 Hour
Overview
Tutorial Materials
Details
Summary
In the previous tutorial, you used a Trigger to detect when Ruby touches a health collectible. In this tutorial, you will use the same knowledge to damage the character when they’re in a certain zone.
You will also extend that to enemies that will move back and forth, thanks to what you learned about Rigidbody components, using Colliders and not Triggers.
Want to learn more about 2D Game Development with Unity? Connect with an expert Unity dev for a live 1:1 lesson.
Select your Unity version
Last updated: May 20, 2020
2019.2
2019.1
2018.4
2018.3
Language
English
Tutorial
World Interactions - Damage Zones and Enemies
60
World Interactions - Damage Zones and Enemies