In a mesh asset, setting Navigation>IsDynamicObstacle=true will make the Navigation / Cylinder Collision projection appear in a wrong position.
As described in the case, the fix should reside in NavCollision.cpp, line 284:
SphylElem.SetTransform(FTransform(CylinderInfo.Offset);
should be
SphylElem.SetTransform(FTransform(CylinderInfo.Offset + FVector(0.0f, 0.0f, CylinderInfo.Height * 0.5f)));
Add a Navigation / Cylinder Collision to a Mesh Asset and set it up (size/position);
Set Navigation>IsDynamicObstacle=true;
In an empty level, add a NavMeshVolume and expand it to cover the ground;
Make the Navigation visible by pressing P or enabling it on Show>Navigation;
Instantiate the Mesh in the level and tilt it sideways;
Check that the projection is not matching the position of the Cylinder.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-219482 in the post.
0 |
Component | UE - AI - Navigation |
---|---|
Affects Versions | 5.4.2, 5.3.2 |
Target Fix | 5.5 |
Fix Commit | 35224220 |
---|
Created | Jul 16, 2024 |
---|---|
Resolved | Jul 31, 2024 |
Updated | Aug 6, 2024 |