Context
ARecastNavMesh::FindDistanceToWall can be used to find the closest 'wall' on a nav mesh, given a queried position. A wall can be:
Problem
User reported this and provided a 100% minimal repro project. In some geometric situations a polygon edge can be shared by a walkable polygon and an excluded NavArea's polygon. The user has provided a repro project where FindDistanceToWall will then return incorrect points on an edge that is in the middle of walkable area. The bug seems to occur when a part of the edge is on excluded nav area. This makes FindDistanceToWall not always reliable.
Repro project, screenshots and a video are attached internally.
As per reporter:
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-237565 in the post.
0 |
Component | UE - AI - Navigation |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Jan 10, 2025 |
---|---|
Updated | Jan 10, 2025 |