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.
How can I make the mouse pointer be considered at the position of viewhalfX, viewhalfY when initiating pointer lock from any click location? And when exiting pointer lock, how can I display the cursor at the position of viewhalfX, viewhalfY?