feat(nav): 17.4 - a mesh has eight filters (a cost per kind of ground each) and every path, straight line and random point names the one it walks by, so a deer, a marmot and a person each take their own way over the same mesh; tested with a band of thicket walked round by the filter that dislikes it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0485a20a8
commit
d4b6979426
10 changed files with 82 additions and 57 deletions
|
|
@ -4,6 +4,7 @@ export const NAV_PERSON: int = 0 # 0.35 m wide, steps what a hiker steps (C
|
|||
export const NAV_LARGE: int = 1 # an elk, a bear, a horse
|
||||
export const NAV_SMALL: int = 2 # a hare, a marmot
|
||||
export const NAV_KINDS: int = 3
|
||||
export const NAV_FILTERS: int = 8 # costs per kind of ground, one set per taste (nav_area_cost)
|
||||
export const NAV_CORNERS: int = 256 # a path's corners at most; a longer one is cut there
|
||||
|
||||
# what a mesh is built for: its voxels (cell across, cell high) and its walker (height, radius,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue