I have two green spheres. One moves up n' down and the other stays in its place. Theyre on the same Y axis. How do I make it so that the moving sphere appears in front and behind it as it moves up and down past the other?
Develop games in your browser. Powerful, performant & highly capable.
Hey Adrianol39
if you mean the Z Order of the objects, you can do something like this:
If Sphere_1.Y < Sphere_2.Y
then Sphere_1 Move to object behind Sphere_2
else Sphere_1 Move to object in front Sphere_2
This action is listed unter 'Z Order'.