External Publication
Visit Post

jME 3.10.0-alpha5

jMonkeyEngine Hub May 28, 2026
Source
The flycam in this test build seems to have a bug; it acts like the movement key is being held down, so the camera just keeps drifting. I didn’t make any keyboard input and the camera was also moving. package com.mygame; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.renderer.RenderManager; import com.jme3.scene.Geometry; import com.jme3.scene.shape.Box; public class Main extends SimpleApplication { public static void main(String[] args) { Main app = new Main(); app.start(); } @Override public void simpleInitApp() { Box b = new Box(1, 1, 1); Geometry geom = new Geometry("Box", b); Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); mat.setColor("Color", ColorRGBA.White); geom.setMaterial(mat); rootNode.attachChild(geom); flyCam.setMoveSpeed(50.0f); } @Override public void simpleUpdate(float tpf) { //TODO: add update code } @Override public void simpleRender(RenderManager rm) { //TODO: add render code } } I conducted a simple test using this code. If I use flyCam.setEnabled(false); Then the camera will not move. After conducting an investigation, I identified the problem. Due to minor thumbstick drift on the connected Xbox controller, we should apply a deadzone threshold and ignore any input below it.

Discussion in the ATmosphere

Loading comments...