GUITexture/GUIText Object stacking order?

I’ve been exploring the GUITexture and GUIText objects in the FPS Tutorial. I am getting clearer on how to position them and how to use movies to animate UL elements, etc.

The thing I’m stuck on is what determines the stacking order of different GUITextures that are positioned in the same part of the screen. I see that in the GUIOverlay object in the FPS Tutorial scene, areas of 100% opacity are rendering on top of other GUITextures. But why does that GUITexture take precidence? Why doesn’t another one that also has 100% opacity?

23788--843--$guitexture_207.jpg

They are ordered by the GUITexture’s local Z position. Note that is not the global Z position. :?

Cheers,
-Jon

Thanks Jon, that was the missing piece!

Steve

Z seems to be ignored if wanting to order GUIText on top of GUITexture.

Any ideas how to go about that?

I’ve never had any problems using Z to order GUIText with GUITextures.

–Eric