How to NOT display the fps node in a SimplePhysicsTest

I would like to mask the fps node in a project i have made from the SimpleRagDoll test

i am looking for something like

  fpsNode.setVisible(false);

but of course that doesn't work.

I'm sure it is easy but i don't find it. :?

you can use



rootNode.setCullMode(SceneElement.CULL_ALWAYS)



and with Cull_Dynamic you can set it back to visible

but probably s/rootNode/fpsNode/ :wink:

thanks it works fine

XD yes