Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JoffreyVR's avatar
JoffreyVR
Honored Guest
12 years ago

How to Display mouse cursor ?

Hi, the thing is that I wish to display the mouse cursor and use it to point some object. But I don't know how to do to make it correctly with the VR. I have the cursor on my application, but it's complicated to localise object and point them.
Thank you for future answers :)

2 Replies

Replies have been turned off for this discussion
  • You will probably need to create a 3D mouse cursor. It would project a ray from the 2D mouse position and place the 3D cursor at the first thing it hits (or slightly in front of it to avoid z-fighting). Using a standard 2D cursor will not work in most cases.
  • Ok, thank you for your answer, i'll try it as soon as possible.