World Interactions - Damage Zones and Enemies
Tutorial
Beginner
1 Hour
Overview
Details
Your progress
Also included in
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.
Tutorial materials
Recommended Unity versions
2018.3 - 2019.2
Language
English
Tutorial
World Interactions - Damage Zones and Enemies