In my game I have a mother ship… There are top and bottom graphics for it.
The top (parent object) of the ship has a bottom (child object). I set the z position of each. I then set some smaller alien game objects to a different z position inbetween so they can appear to come from inside the mother ship. Doesnt seem to work…
In the parent I set…
local p = go.get_position() p.z = ALIEN_LAYER + 0.01 go.set_position(p)
In the child I set…
local p = go.get_position()
p.z = ALIEN_LAYER - 0.01
go.set_position(p)
So one layer is above and one below… the alien layer …