Description

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)));

 

Steps to Reproduce

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-219482 in the post.

0
Login to Vote

Fixed
ComponentUE - AI - Navigation
Affects Versions5.4.25.3.2
Target Fix5.5
Fix Commit35224220
CreatedJul 16, 2024
ResolvedJul 31, 2024
UpdatedAug 6, 2024
View Jira Issue