Is there a version of Babylon FreeCamera in Three? NOT FirstPersonControls!

Hi,

I’m looking for code, example or if someone knows it already exists a camera control that is the same as the FreeCamera in babylon.
https://playground.babylonjs.com/

Firstperson controls are close but it constantly moves with mouse movement not on mouse down drag and moving orbitcontrols doesn’t work. I’ve tried disabling the update in render loop based on mouse down and mouse up but it just jumps about.

Anyone?

This is similar :
https://threejs.org/examples/?q=controls#misc_controls_pointerlock

How about using FlyControls and setting dragToLook to true:

https://jsfiddle.net/r2pq3u41/

1 Like

Tried that, no good, it doesn’t maintain orientation with scene y up… The more you rotate / lookaround the more you loose orientation with the scene.

Can’t use it, movement is not mouse drag based but it is closer, but the FristPersonControl is closer than this to the babylonjs equivalent.