Hi guys, I have been going through the JME tutorials to learn the various features. Is there a way I can disable the default camera so it dosent move around when I move the mouse, and how can i get rid of the stats display on the lower left of the screen. I just want a static camera.
Thanks!
to disable the camera :
flyCam.setEnabled(false);
to hide stats and fps
statsView.setCullHint(Spatial.CullHint.Always);
fpsText.setCullHint(Spatial.CullHint.Always);
in the simpleInitApp
Thank you for the help nehon, and sorry for the late repsonse. the camera worked to disable it, but I am getting an error with the stats and fps, it doesent recognize the class Spatial , what should I import?
Thanks,
Zach
refinedcode said:
it doesent recognize the class Spatial , what should I import?
er...com.jme3.scene.Spatial
What are you using for IDE? Eclipse, NetBeans?
Anyway in netbeans use ctrl+shit+i to organize imports, use ctrl+shift+o in Eclipse
or in both IDE place your caret at the end of the Spatial word and hit ctrl+spacebar it should suggest you the correct class and hit enter.