Hello all, I’ve been working on a 3D first person game using OpenFL, and I’ve been wondering if it’s possible to lock the mouse to the center and hide it in the HTML5 target, to simulate mouselook. I’ve managed to do this in the native targets by using Mouse.hide and Mouse.warp, but the Mouse.warp function is apparently empty in the HTML5 Lime backend.
Is it possible to somehow use the canvas Pointer lock API in conjuction with Mouse.warp to simulate this? I’ve tried doing
but to no avail.