A downloadable tool

Get this tool and 35 more for $356.64 USD
View bundle
Buy Now
On Sale!
30% Off
$9.99 $6.99 USD or more

Unity's NavMesh bake makes links for dropping DOWN off a ledge and for jumping ACROSS a level gap. It has no setting for jumping UP. So an agent drops off a crate and can never climb back on, and every upward route is a NavMesh Link you place by hand, then place again whenever the level changes. Ledgeline reads your baked NavMesh and places them for you.

Give it your agent's jump height, drop height and gap length. It places real NavMeshLink components on every ledge your agents can climb, drop or leap, both ways where both ways work, and tests every jump arc against your level so no link goes through a wall or under a beam.

What it does

  • Four kinds of link, from one profile: two-way Ledge links where the agent can climb and drop, one-way Jump Up and Drop links where it can only do one, and two-way Gap links. Neighbouring points along a ledge merge into one wide link.
  • Reads your agent. Radius, height and step height come from the NavMesh agent type, so the profile can never drift from the bake. Rises the agent can simply walk up get no link.
  • Tests the arc, not just the ends. Each candidate's jump arc is checked against your colliders. Refused candidates are kept with the reason: too high, blocked, or covered by your link.
  • Never touches your own links. Regenerating replaces only the objects Ledgeline made. A NavMesh Link you placed by hand is never deleted, and a span it already covers is skipped.
  • Designed Scene view arcs: gold, sky, coral and violet by kind, direction chevrons, a landing plate at each end, and refused candidates as dashed ghosts.
  • Ledgeline Traverser: agents jump along the same arc that was tested, on any off-mesh link, instead of sliding. No allocations per frame.
  • Ledgeline Link View: the arcs as a real mesh, for the Game view and development builds.
  • A CI check that exits 1 when a scene's links are stale against its NavMesh, and a batch Regenerate.
  • One undo step per generation. The same NavMesh and profile always give the same links.

Measured (Unity 6000.5.7f1, AI Navigation 2.0.14)

  • On the demo street, one Jump Profile (jump up 1.6 m, drop 3.2 m, gap 4 m) and the baked NavMesh gave 21 links: 15 two-way ledges, 4 one-way drops and 2 gap leaps, from 864 test points on 132 NavMesh edges, in 77 ms.
  • Refused, with the reason: 82 too high (a 6 m tower, a 3.4 m roof edge over the street) and 26 blocked by level geometry (a beam, a thin wall).
  • In Play mode, three NavMeshAgents with the Ledgeline Traverser completed 18 jumps in 15 seconds of the tour.
  • Installed from the shipped .unitypackage into a blank project: 18 of 18 tests passed on the installed bytes, against a test level with 0.5, 1.0, 1.3, 2.4 and 4.0 m rises, a gap within reach and one beyond it, a beam and a thin wall.

The demo

Open the demo scene and press Play. Three agents tour a grey-box street over links Ledgeline generated: up two crates onto a roof, across a 2.5 m gap to a second roof, down to a balcony and back to the street. A tower too tall for the profile, a beam over one side of a crate and a thin wall beside a platform show the three ways a candidate is refused.

Good to know

  • Unity 6 with the AI Navigation package 2.0.3 or newer (new Unity 6 3D projects include it). Tested on 6000.5.7f1 with 2.0.14. Without the package, Ledgeline's assemblies are skipped and nothing fails to compile.
  • Links are generated in the editor from the baked NavMesh and your colliders. Geometry with no collider is not seen.
  • Each profile covers one agent type; make one per agent type.
  • Full C# source, a numbered guide, and a demo scene.

From the same studio

More Unity editor tools: Typecase turns a pixel font PNG sheet into a TextMesh Pro font asset, and Ninepoint checks every label in your UI against Steam Deck's text size rules. And if you would rather play than build: SIDELONG, our latest game.

AI disclosure: Ledgeline's code and documentation are AI-written, and the demo level and store images were built and rendered by an AI agent from code.

Purchase

Get this tool and 35 more for $356.64 USD
View bundle
Buy Now
On Sale!
30% Off
$9.99 $6.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $6.99 USD. You will get access to the following files:

ledgeline-unity-package.zip 150 kB
Version 1.0.0

Development log

Leave a comment

Log in with itch.io to leave a comment.