Mouse move -> camera/character rotation

24 November 2015 16:11
You can use mouse drag instead of the pointerlock.
Use such call to control the camera:
m_mouse.request_mouse_drag(canvas_elem, null, rotation_cb);
26 November 2015 00:00
Thanks again, finally got what I was looking for!

I still think having a variation of pointer lock that is toggled by holding/releasing the lmb would be ideal solution, so I'm going to add that to the feature request forum.
Please register or log in to leave a reply.