Hi,
I wonder how to pick the nearest one of some Object Instances.
The aim is to pick the closest Object to a target, but the choice should not be done of all instances, rather only between Objects with specific UID's
Someone has an idea?
:)
you could try 'for each - ordered' by distance() ascending, with your other conditions to choose the specific instances. you'd break the loop the first time it runs to pick only the nearest instance.
Develop games in your browser. Powerful, performant & highly capable.
This should do the job, many thanks :)