Search Unity

Question Raycasting into Object, highlight and open UI on triggerButton

Discussion in 'VR' started by lurrechaga, Oct 31, 2023.

  1. lurrechaga

    lurrechaga

    Joined:
    Sep 15, 2023
    Posts:
    1
    Hi

    Im basically trying use raycast to select objects and open an UI with information about that object I already have, but im not managing to do it or even get close, all I can found is about grabbing objects.

    How do I detect the collision of my ray with the mesh collider of the object and then make it open an UI on selection?