controlling mecanim enemy

After watching some of the online videos, I was able to download a char from mixamo, make and apply an animator controller, and get my char running around animated. That seems to work well.

I downloaded another char, calling this one my enemy, and applied the same animator controller etc etc.

Now, I’ve placed my char and enemy on either side of a plane. I’m trying to get the enemy char to chase or run towards my main char. I’ve tried this a few different ways but none seem to work. Looking for insight into how to program the enemy char to run towards my main one. Thoughts?

It’s your lucky day :slight_smile:
We do have a free sample on the asset store that show exactly how to do this.

And take a look at Follow example scene.

This is one way of doing this

1 Like