Recall & Review
beginner
What is the primary purpose of the NavMesh Agent component in Unity?
The NavMesh Agent component allows a GameObject to navigate a scene by following a path on a NavMesh, enabling automatic movement and obstacle avoidance.
Click to reveal answer
beginner
Which Unity system must be set up before using a NavMesh Agent?
A NavMesh must be baked in the scene. This is a navigation mesh that defines walkable surfaces for the agent.
Click to reveal answer
beginner
How do you make a NavMesh Agent move to a specific position in code?
Use the method
agent.SetDestination(targetPosition); where agent is the NavMesh Agent component and targetPosition is a Vector3 coordinate.Click to reveal answer
beginner
What property of NavMesh Agent controls how fast the agent moves?
The
speed property controls the movement speed of the NavMesh Agent.Click to reveal answer
intermediate
How does the NavMesh Agent avoid obstacles while moving?
The NavMesh Agent uses the NavMesh's data and built-in obstacle avoidance algorithms to find paths around obstacles automatically.
Click to reveal answer
What must be created in a Unity scene before a NavMesh Agent can navigate?
✗ Incorrect
The NavMesh defines walkable areas for the NavMesh Agent to navigate.
Which method moves a NavMesh Agent to a target position?
✗ Incorrect
SetDestination tells the NavMesh Agent where to move.
What property controls how fast a NavMesh Agent moves?
✗ Incorrect
The speed property sets the movement speed of the agent.
How does a NavMesh Agent handle obstacles in its path?
✗ Incorrect
The agent uses obstacle avoidance to navigate around obstacles.
Which Unity component is required on a GameObject to use NavMesh Agent features?
✗ Incorrect
The NavMesh Agent component enables navigation behavior.
Explain how to set up and use a NavMesh Agent to move a character to a point in Unity.
Think about the steps from scene preparation to code control.
You got /4 concepts.
Describe how the NavMesh Agent component helps with obstacle avoidance during navigation.
Focus on how the agent moves safely in the environment.
You got /4 concepts.