I need to set diferent positions for several instances of the same object in a every thick condition.
The thing is that I don't know how to identify each instance to set the position of each one correctly. Is there a way to do that?
Thanks in advance!
Develop games in your browser. Powerful, performant & highly capable.
you can either use "pick UID" or you could every instance a variable - e.g., INDEX or TAG and set each instance to a unique value
There are probably other ways like picking nearest etc but it depends on what you are doing
Since the object won't ever be destroyed, I think picking UID isn't a problem. Isn't it?
kossglobal Only thing I don't like about picking using UID is when you have a number of instance then it becomes a pain to remember the UIDs. The nice thing about the variable system is that you can access the instances using a FOR loop.