Could someone please help me find or make a script that would make an object track to the closest object or property. It would become extremely helpful in my game…:o
Start with this, or this (if you know your scene).
Then this and this to get the coordinates of your object. Step through the objects you’ll get with this, and look for the closest. Set the tracking with this.
Could you give an example, please.
(Object that moves to the object = 1.1)
(Object that in targeted = 2.1)