Log inGet started
World

High Ground: Climbing, Ledges, Vaults and Rooftop Running Kit

Branchmain
Branchesmain
Commite1311f0fc8

README.md

navClimb

Tells navKit which walls traversalKit can climb. link(opts) probes every wall face round a point (or the walls you list): a face that climbs (by rule, or marked climbable) and has a top a character can stand on becomes a navKit ladder link from the ground at its foot to its top. An NPC on navKit's climber style (an aiKit guard, any NavAgent) then plans its route up that wall the way a player would climb it, instead of walking round.

local K = require("traversalKit.kit")
K.linkClimbableWalls({ center = { 0, 0, 0 }, radius = 40 })   -- once the level has loaded

Options: center, radius (60), entities (exact walls instead of a search), spacing (4 m between links on one face), minHeight (1.6 m; lower walls are stepped or mantled), maxHeight (14 m). clear() removes the links it made, links() lists their ids. Called by game code on every peer after the level is built (the links are navKit's own, which every peer registers the same way).