- Home /
Modifying AI script to follow gameobject
Hey there!
I've been looking at two answers from these forums and I've been trying to merge them but I've been stuck for ages trying to get it to work.
The answers are the following; http://answers.unity3d.com/questions/26177/how-to-create-a-basic-follow-ai.html && http://answers.unity3d.com/questions/237571/ai-detecting-object-raycast.html
The closest I've come is by getting the enemy to follow me constantly and then when it gets to an obstacle it respawns back it it's old position rather than go round the obstacle.
If someone could show me how to merge these two correctly, I would greatly appreciate it :D
Answer by AlucardJay · Mar 19, 2013 at 04:18 AM
Huh? what are you doing to change the raycast from a rotation to a teleport??!! I am covering this again in my video tutorials : http://www.youtube.com/watch?v=p9yLZmgkFWY
Or simply just watch the source where I learned this : http://vimeo.com/9304844
Your answer
Follow this Question
Related Questions
AI navigating all 6 sides of a cube 0 Answers
Flying AI Planes 0 Answers
Checking name from hit from Raycast in array 2 Answers
Test if object is within collider bounds on start 0 Answers
AI using Javascript 1 Answer