Cursor Locking for First Person Games
Hi all,
As I've been playing around with integrating the OVRSDK into my first project, I ran into the situation that OnMouseDown/Up/Etc. are now fairly useless, as the cursor is in-between the two camera views, so it reporting the cursor position in a very un-intuitive/useless position. This ends up being a bit of a problem for almost anything using a cursor, as instead of using native functions, we're likely going to have to scratch-build an alternate solution (here's for hoping someone slams together an asset-store release for this quickly). From playing TF2 in vr mode, it seems they actually duplicate everything in both views, including the actual cursor itself.
Anyone have any quick hackee ideas for a generic cursor implementation?
As I've been playing around with integrating the OVRSDK into my first project, I ran into the situation that OnMouseDown/Up/Etc. are now fairly useless, as the cursor is in-between the two camera views, so it reporting the cursor position in a very un-intuitive/useless position. This ends up being a bit of a problem for almost anything using a cursor, as instead of using native functions, we're likely going to have to scratch-build an alternate solution (here's for hoping someone slams together an asset-store release for this quickly). From playing TF2 in vr mode, it seems they actually duplicate everything in both views, including the actual cursor itself.
Anyone have any quick hackee ideas for a generic cursor implementation?
