Quads are culled when partially on-screen?

I have six quads for the purpose of making them into a cube with a different texture on each side. But for some of them, when you take half out of your camera, the entire thing disappears. This stops happening when Dynamic culling is set to Off. But I want to have dynamic culling on these quads, as it is part of the reason I made them. Is there any way to get around this?



Edit: I found that this only happens when all of the quad geometry’s setLocalRotation parameters are all over 0.6. This causes the problem:



geom.setLocalRotation(new Quaternion(0.7f,0.7f,0.7f,0.7f));



But this, for example, does not:



geom.setLocalRotation(new Quaternion(0.6f,0.7f,0.7f,0.7f));



Problem solved I suppose.

You might need to call Mesh.updateBound() to update its bounding volume

1 Like