The FreeCamera input is broken.
Now when you press the up, down, left and right buttons, the camera will be pulled to the zero point.
I confirm :
This should be the problem, see line 336.
I think, just put
this.position.copyFrom(this.cameraDirection);
Change it to
this.position.copyFrom(this._deferredPositionUpdate);
should solve the problem
An interesting solution is to add a meaningless parent to the camera
camera.parent = new BABYLON.TransformNode("")
This would cause the code to take another path and skip the bug.
1 Like
6.12.3 fixes the issue and is now deployed to the playground.
1 Like