
Challenge 3: Create Dynamic & Static Obstacles
Tutorial
Beginner
+10XP
20 mins
125
Unity Technologies

Create dynamic and static obstacles in the scene
1. Add NavMesh Obstacles to the Scene
1. Enable the Obstacles GameObject in the Hierarchy


2. On each of the Obstacle GameObjects, add a NavMeshObstacle component to allow NavMeshAgents to navigate around them.

3. Click Play and test out the Obstacle avoidance
