I'm making a game where there are spinning spike spheres which have one eye on the middle as you see in the picture down below. And I want the eye look at the player all the time. I already have some code in c# which makes the eye work when the enemy isn't moving, but when the enemy moves the eye does't follow because I don't know how make the eye follow along with the enemy. And yes the eye is a child object of the enemy.
![alt text][1]![alt text][2]
[1]: /storage/temp/125113-enemy.png
[2]: /storage/temp/125114-script.png
↧