Click-to-Move with Unity NavMesh

Offered By
Coursera Project Network
In this Guided Project, you will:

Become familiar with path-finding in Unity using its NavMesh tool.

Become familiar with setting up NavMesh Agents and how to maneuver them in a Scene using Raycast.

Understand the difference in setting up static and dynamic obstacles when baking a NavMesh.

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this one-hour, project-based course, you'll learn how to utilize the Navigation System to move a character to wherever the player clicks. We'll be setting up a "NavMesh" that defines where the character is able to walk. You will also learn how to set up static and dynamic obstacles that the Player will automatically avoid. The guided project will introduce you to the following Unity concepts: - Navigation System - Raycasting This series also makes use of the robot-themed Unity project created in Create Simple Enemy Behaviour with C# in Unity (Introduction to AI). This complements this guided project and, although not a prerequisite, is recommended for a more well-rounded understanding of the concepts presented herein. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License Activation

  2. Set Up NavMesh

  3. Create PlayerMovement Component

  4. Set Configure NavMeshAgent

  5. Create Moving Walls

  6. Add NavMesh Obstacle component

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.