So is there a way to make a world space cursor that you can control the position of so you can use Oculus Rift with World Space canvases?
Is there an API to basically feed the cursor position to the UI system manually? I have a cursor object that follows the center of the the camera and I need to have that be the cursor position for World Space canvases.
I think you’ll need to derive your own class from UnityEngine.EventSystems.EventSystemModule. Then you can implement whatever raycasting behaviour you need.
Yeah I ended up doing that yesterday and it worked–you can check out the solution here:
The only wonky thing is I have to add box colliders to the UI elements which don’t seem to resize to fit the objects.
1 Like