I am working on a 3D project in which objects will go "closer" to the user and "farther away" from the user. These two movements will be displayed by the objects' moving up and down the y-axis, in addition to changing size. Is there a way to make scripts that state that objects that are "closer" to the user will occupy higher layers than objects that are "farther away", thus creating an illusion of overlapping?
Offline
I don't know much about this, but I have an idea: Compare the sprites' sizes to each other and change the layers by that.
But what would be better is to download this project: 3D Expirement
Offline