HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
126 stars 24 forks source link

Soldiers NavMesh movement near walls sometimes leads them into walls #916

Closed Leroy231 closed 7 months ago

Leroy231 commented 7 months ago

Note this bug happens in single player and multiplayer but since single player is simpler let's fix it there first and assume that fixes it in multiplayer. It seems to happen when ordering a squad to move near a wall. A good map to test this on is with L_SmallWithObstacles_Squad_vs_Squad_OffNavMesh and with the console commands:

Then go into drone, wait for snap to nav mesh to run so all soldiers are on nav mesh, then select squad and order them to location at screenshot below. Then entity [i: 10 sn: 10] will end up in wall (see second screenshot below).

Todo:

Image

Image