Hey, I’m new here on the Unity forums.
I’m also pretty new to Unity as a whole and I’m currently doing a firstperson hack 'n slash.
What I need help with is my enemies. I can so far get them to spawn but I need them to move to my position.
What I’ve done so far is
public void SetTarget(Player player)
{
opponent = player;
}
They now have me as a target but I need to make a function that makes them TURN to face me, then move to my position and attack me.
I’m however not sure how to code this, so any help would be appreciated.
Thanks,
Mez