1.6 KiB
Navigation Samples
The following sample scenes are included with the AI Navigation package:
-
Multiple Agent Sizes: Demonstrates how a different radius on an agent type can change the way agents navigate through the same scene.
-
Drop Plank: Demonstrates dynamically changing walkable paths by allowing the player to add walkable planks by pressing space.
-
Free Orientation: Demonstrates a controllable agent that can walk on a tilted plane.
-
Sliding Window Infinite: Demonstrates a controllable agent that can walk through a dynamically created world that gets updated to simulate infinity as the agent walks through it. The NavMesh is only built in some set bounds that follow the agent.
-
Sliding Window Terrain: Demonstrates a controllable agent that can walk through a terrain for which the NavMesh is only generated within a set distance of the agent.
-
Modify Mesh: Demonstrates agents walking aimlessly on planes whose mesh can be modified dynamically by the player.
-
Dungeon: Demonstrates a controllable agent that can walk through a maze generated from pre-baked tiles that connect to each other at runtime. The link traversal animation can be modified with some presets (teleport, normal speed, parabola, curve).
-
Height Mesh: Demonstrates two agents walking down stairs. The environment on the left uses
NavMeshSurface
with a Height Mesh which allows the agent to snap to each step in the stairs as it goes down. The environment on the right uses aNavMeshSurface
with no Height Mesh; the agent simply slides down the stairs.