Home › Forums › Programming › Implementing Pointer Lock
i am trying to implement pointerlock to move a first person camera based on this example:
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?
Test your math:
Log in / Register