Hi all,
i am trying to implement pointerlock to move a first person camera based on this example:
https://github.com/Soft8Soft/verge3d-code-examples/blob/master/misc_controls_pointerlock.html
I got it to work based on this post
How to use PointerLock correctly for a first-person camera
using setObjectTransform to move the camera but it doesn’t work well enough as there is no smoothing applied to the camera motion.
But trying to use the pointer lock example the camera just shakes but doesn’t move.
Is there a working example somewhere that integrates it into verge3D using the default verge3d setup (not the bar bones setup from scratch like in the github example).
Or is there another way to do this thats already implemented that i am maybe not aware of?
Regards
Sebastian