I’ve been trying to make my player track to an enemy if it is close enough. I had a look at Skullbunny’s trackToNearest, but it makes no sence. Can anybody help me to make sence of it?
Well, you need a near sensor connected to a python controller connected to an trackobject actuator. The python script needs to getHitObject() and then set the actuator object to the hit object from the near sensor.
Sorry for being so vague but I don’t have the time right now to explain it in depth and I figured being vague was better than being silent.
Thanks for the help. =)