Hi!
I have a small problem maybe more mathematical than unity, but it’s still the right place I think.
I’m trying to reverse the object location order detect by a raycast (this maybe not be the right solution to use a raycast) in a click.
I explain myself with a drawing :
I used empty gameobject as a location for my objects, but I do not have the “code” in mind to operate a “conversely” …
Because in drawing, there are only three objects, but I would like it to be a much larger number too.
And with a possibility to click on any object also that suddenly, would operate a reversal with the objects only above him.
Thanks in advance !