LSBUGPG / UnityLibrary

A library of useful Unity components and test scenes
GNU General Public License v3.0
0 stars 0 forks source link

Move towards player #21

Closed notleeandrew closed 8 years ago

notleeandrew commented 8 years ago

This code allows the enemy to move towards the player once the player has entered range or line of sight of the enemy.

charliedadams commented 8 years ago

It actually worked. The enemy constantly follows you unless you leave it's line of sight. Wish: The code was perfect for what I needed and I have no wish for it.

SilentTranscend commented 7 years ago

Star: Functional script, didn't find any problems Star: Simple set-up for other enemies Wish: None

ClockworkAlexander commented 7 years ago