(Solved) See through spatials

In a standard game when I add spatials to the rootNode of a gamestate they are transparent in the order I added them.  The last spatial added blocks my view of the other spatials, but if I look at the first spatial added I can see the spatials I added later like it was transparent.



I am new to jME and would like to understand why this is happening.

You need to add a ZBufferState to your root node to turn on the Z buffer. That got me, too, the first time I used jME. In my opinion, that should be the default…

Thanks that did it.