How to make AI to go around dynamic obstacles properly?

Hello,

Trying to make simple RTS for education purposes and faced a problem with let’s say mechanized units like cars, tanks, APCs etc. They have non-circle shapes. Mostly rectangles. I noticed that during unit movement AI does not take into account its mesh shape and sizes and overlaps other units.

Tried to add collision boxes to the units and set NavMesh_Obstacle type for them. UE set higher points for these areas but sill overlaps meshes during movement.

I guess it is because UE uses only CapsuleComponent as a unit form to be considered as collision component and calculate path only for capsule to bypass obstacles.

Could someone advise how to change collision component to avoid of meshes overlapping? Is there way to configure AI Controller or NavMesh to take into account character’s mesh form instead of capsule component?

Regards