BoundingBox in GameState

Hi,



I'm having a problem when adding Geometry objects such as Boxes and Text within in one of my GameStates.

If I don't give these objects a BoundingBox then they display fine, however when I give them a BoundingBox using the standard code (below) they are not displayed.


text.setModelBound(new BoundingBox());
text.updateModelBound();



I can replicate this with the TestGameStateSystem class. By adding a bounding box to the example Text object, it does not display.

Does this have something to do with the camera frustrum?

Im sure I'm not understanding something important here.

Thanks in advance!

Ok, never mind. I've added

      rootNode.setCullMode(SceneElement.CULL_NEVER);


within my GameState menu class. Bounding Boxes work fine now. I obviously don't need frustrum culling for a 2D menu.