Enemies, Part 2: Dynamic Observers

Tutorial

·

Beginner

·

+10XP

·

40 mins

·

(2778)

Unity Technologies

Enemies, Part 2: Dynamic Observers

1. Set Up the Ghost Prefab

2. Animate the Ghost

3. Add a Collider to the Ghost

4. Add a Rigidbody Component to the Ghost GameObject

5. Make the Ghost an Observer

6. Set up a Nav Mesh Agent Component

7. Create a New WaypointPatrol Script

8. Set the Destination of the Nav Mesh Agent

9. How Do Arrays Work?

10. Add Additional Destinations

11. Assign the Nav Mesh Agent Reference to the Ghost Prefab

12. Place Ghosts in your Scene

13. Create and Position the Ghost Waypoints

14. Place Gargoyles in your Scene

15. Clean Up the Hierarchy

16. Summary

Complete this tutorial