- Home /
Question by
InvaderX · Jan 04, 2013 at 10:33 PM ·
playerfollowfollow player
How do I make an object follow the player?
I want to make this guy/object to follow the player like all stalker like. How would I do that? What script would I use?
Comment
Answer by Tim-A · Jan 04, 2013 at 10:53 PM
You would have a transform.LookAt(target);
then a myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;
then you could add distance related stuff. That should help you start off. I don't think anyone will write a script for you, unless they are nice. Unlike me.