I have this perplexing problem, the camera won’t move as expected when I use the mouse or keyboard.
In my scene I create a UniversalCamera and I attach it to the render canvas. Somthing like this:
val camera = new UniversalCamera(“sceneCamera”, new Vector3(0, 1, -15), scene)
camera.setTarget(Vector3.Zero())
camera.attachControl(engine.getRenderingCanvas())
I have no mouse or keyboard handler registered in my code. Not sure where to start to debug this problem.
Running in latest Chromium, served from localhost, Babylon 4.2.
Unfortunately we are not able to help since code needs to be precise. No way to tell if you are missing the namespace BABYLON on purpose to shorten your typing or its is missing because you do not realize it is needed.
Please see if you can reproduce the issue in a playground.