I am using default character movement with Move To node on behavior tree to navigate between two rooms. And sometimes my character just doesn’t use the shortest path (1 on the picture) and instead he lean to wall and walk along it (2 on the picture).
Is there any way to force my character to choose shortest path (1) every time?
P. S. There is no generated navmesh inside walls, navmesh generated only on walkable areas of the room.