Skip to main content
Up and Coming
April 25, 2014

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 :)
    This topic has been closed for replies.

    2 replies

    Inspiring
    April 25, 2014
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    JoffreyVRAuthor
    Up and Coming
    April 28, 2014
    Ok, thank you for your answer, i'll try it as soon as possible.
    ~ Don't forget: What you want, will be.