Enemy NPC walks through hills

I need help getting the NPC to walk over the hills whilst following the player rather than through the hills. How can I do this?

You need to add a collider in the character to colide with the terrain and go up to your hill.