Can I somehow Screen.lockCursor off center instead of the center of the screen? (Oculus)

Is there a way in which I can lock the cursor for the mouse so that it’s not centered in the screen?

I have many mouseover functions and when I attempt to replicate them using Raycast instead I get many issues.

I’d like to continue using mouseover, however with the Oculus Rift the center of the screen would actually be an edge.

I know the cursor is handled by the OS… but is there someway I can trick it into thinking the center of the screen is elsewhere?

Thanks!

I believe you cannot lock the cursor anywhere except in the middle unless you use a dll as explained here.

You could also make your own custom cursor that is being moved with Input.GetAxis() while the mouse is hidden with Screen.lockCursor.

This is something that is so simple and yet unbelievably not implemented… If you find any other solutions please share because I’d like to know.

Radivarig