AI Movement Collision Not Working?

Hey guys. I’m working on an AI that chases the player. The character being controlled by AI is 4 legged. A problem I’m running into is that when I set the AI to move to player location, the AI just goes through the player until the capsule component is reached. How do I make sure the AI doesn’t go through the player?