Hi everybody! I'm glad to introduce NavMesh2D Pro, a complete suite that provides all you need to let thousands of characters find paths, move there avoiding obstacles, detect other characters that are in sight...
It was made for 2D from the ground up. No rotated 3D navmesh, no grids, no workarounds. It builds the walkable area from the 2D colliders you already have and keeps it up to date while you build your level.
🚀 EASY TO START, EASY TO LEARN
- Up and running in minutes. An installation window greets you on import, and the quick-start guide gets your first character moving in less than five minutes.
- Uses what you already have. Box, polygon, circle, capsule, composite and tilemap colliders all work. You can also draw walkable areas by hand right in the Scene view.
- Takes care of itself. A new navmesh is ready the moment you create it, and it rebuilds itself as you shape it, so you see the result while you work.
- One line to move a character. Characters find the right navmesh on their own. You only tell them where to go.
- Learn by playing. 11 ready-to-run demo scenes, opened from a built-in demo browser, show every feature in action, with their scripts as examples.
- Clearly documented. A complete manual in plain language, tooltips in the inspector, and fully documented code.
🤸 WHAT YOU CAN BUILD WITH IT
- Natural paths. Routes hug corners and look like a person would walk them: no zig-zags, no staircase steps.
- Movement with personality. Speed, acceleration, braking and turning, set per type of character.
- Crowds. Many characters share the same space and step aside for each other instead of walking through one another. Important characters can be given right of way.
- Characters of every size. A rat and an ogre each get only the routes they actually fit through, with no extra work per level.
- Jumps, ladders and teleports. Connect separate areas with links for gaps, ladders, elevators or portals, and play your own animation while crossing.
- Moving platforms. Walkable areas can move, and the characters on them move along.
- Doors. Gates close a passage while the game runs (blocking routes, movement and even sight) and reopen instantly.
- Waiting at a closed door. When the way is blocked, characters get as close as they can and carry on by themselves once it opens.
- Terrain preferences. Make mud, water or danger zones costlier to cross, so characters go around when it's worth it.
- A changing world. Push a crate or drop a barricade and routes update on the fly.
- Levels in pieces. Levels built from several navmeshes, even from additively loaded scenes, join up into one world.
🧱 BUILDING BLOCKS FOR YOUR GAME AI
Your game decides what a character wants to do. These tools give it the information to decide well.
- Vision. Ask who can see whom, with range and view cones. Choose whether walls block the view, or only obstacles do.
- Run away or close in. Find good spots to flee to, or to approach a target from.
- Wander. Pick random places a character can actually reach.
- Ask about the world. Who is nearby, where the nearest walkable ground is, where a line of sight hits a wall.
🔩 TWEAK EVERYTHING WHILE THE GAME RUNS
Game designers can tune almost every setting in Play mode and see the effect immediately: speeds, acceleration, turning, crowd behaviour, terrain costs, doors and obstacles. No restarting, no waiting for a rebuild, no waiting for a programmer. Change a single character, or a whole type of character at once, and keep iterating until it feels right.
🌡 SEE WHAT IS HAPPENING
- Visual debugging in the Scene view. Show the walkable areas, the routes between them, how much each connection costs, what blocks line of sight, and each character's path and movement.
- Always-visible state. Links, gates and obstacles show their shape and state in the Scene view at all times, so a closed door or a misplaced link is obvious at a glance.
- Try features without coding. Ready-made test components let you try movement, vision, fleeing, approaching and wandering on any character.
- Live readouts. A floating panel shows a character's speed, velocity, heading and avoidance values as they change.
- Built-in profiler. An on-screen overlay shows how long each part of the system takes per frame, so you know exactly where the time goes.
Requires Unity 6.0 or newer.