ScreenSpace Mouse Problem, need to use touch screen
EDIT: users do not put on oculus until they done the interactions on a touch screen.
So im looking for a way to either disable temporarily oculus or correct the mouse position on screen.
I need my users to use a touch screen first and then put on an oculus to view. However, the screenspace (screenspacetoRay/toWorldPoint, etc) works optimized for VR so touchscreen point is not where user touched.
There are 2 ways I tried but failed:
1. calculate a fake touch/mouse point, so that then Unity calculates the screen space with the fake point but the result gives the correct position, but I need figure out how Unity converts the position.
2. Use a camera which does not support VR, but Unity just force all cameras to work in VR mode.
So is there any other ways I can do that? I cannot use a virtual cursor but only the exact position users touch.
Thanks!
So im looking for a way to either disable temporarily oculus or correct the mouse position on screen.
I need my users to use a touch screen first and then put on an oculus to view. However, the screenspace (screenspacetoRay/toWorldPoint, etc) works optimized for VR so touchscreen point is not where user touched.
There are 2 ways I tried but failed:
1. calculate a fake touch/mouse point, so that then Unity calculates the screen space with the fake point but the result gives the correct position, but I need figure out how Unity converts the position.
2. Use a camera which does not support VR, but Unity just force all cameras to work in VR mode.
So is there any other ways I can do that? I cannot use a virtual cursor but only the exact position users touch.
Thanks!
