What are the differences between PointerLockControls and FirstPersonControls?

I can’t find a demo of FirstPersonControls to test the differences out


webgl_shadowmap is one of the examples that uses FirstPersonControls.

FirstPersonControls is actually an alternative implementation of FlyControls. Meaning you can use WASD, Arrow Keys and Mouse to freely transform the camera in 3D space.

PointerLockControls is different since it uses the Pointer Lock API. That means the mouse is captured (the cursor is hidden during the capturing) and only mouse movements (so the actual delta values) transform the camera when looking around. This is the behavior you usually know from First-Person games.

1 Like

Thanks, that makes sense!