How do I make an enemy move towards me and not walk over my colliders

then when i make contact with them they just go flying.

check the collision of both player and enemy is set on Trigger or Layer