We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Implementing Pointer Lock

Home Forums Programming Implementing Pointer Lock

Viewing 1 post (of 1 total)
  • Author
  • #42432

    Hi all,
    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?


Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.