Attach nodes and geometries to the rootNode: rootNode.attachChild(geo);? com.jme3.scene.Node, com.jme3.scene.Geometry? node.setCullHint(CullHint.Never);
The Scene Graph? Hello Asset? Hello Node
使物體在場景中消失
Detach nodes and geometries from the rootNode: rootNode.detachChild(geo);? node.setCullHint(CullHint.Always);
The Scene Graph? Hello Asset? Hello Node
使用第三人稱視角(默認cam)
Use default camera?cam? com.jme3.renderer.Camera
ChaseCam WIP
使用第一人稱視角
Use camera?flyCam? com.jme3.input.FlyByCamera
Hello Collision
攝像頭速度增量
flyCam.setMoveSpeed(50f);
–
只繪制場景大綱
Use a wireframe material, e.g. for debugging.
Debugging
改變背景色
Call viewPort.setBackgroundColor(ColorRGBA.Blue);
N/A
定義一個應用類
Extend com.jme3.app.SimpleApplication (or com.jme3.app.Application) and set Application Settings