mrazza / gonav

A Source Engine navigation mesh file parser written in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Directions (and ladder directions) are wrong

derivator opened this issue · comments

The navmesh file contains connections in the order +x, +y, -x, -y (counter-clockwise), or east, north, west, south. However, nav_compass 1 shows a compass with NESW going counterclockwise (:-1:), so perhaps it's best to avoid these terms altogether. The 32 bit value stored for each ladder is not up or down, it's also a cardinal direction. It seems to be the direction of the bottom area relative to the ladder. Check de_sugarcane for a map with all four ladder directions.