- Home /
Question by
cmz-neu4590 · Jun 25, 2019 at 12:21 PM ·
positionnavmeshnavmeshagentpathfindingsample
navmesh.sampleposition works strangely, what is going on here?
In the video below the blue ball gizmo is the last position navmesh.sampleposition got, the yellow wire sphere is the search radius(the cyan ray is something else, ignore) as you can see it doesn't really get the closest navmesh position as it should, it searches in the radius but it only calculates the nearest point in XZ distance it ignores the Y axis for calculating the distance i think, is this working as intended?
Comment