Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved How can I add a dot at the end of a ray interactor like Oculus Menu?

Discussion in 'XR Interaction Toolkit and Input' started by MatanYamin, May 22, 2023.

  1. MatanYamin

    MatanYamin

    Joined:
    Feb 2, 2022
    Posts:
    109
    Hey everyone,

    I couldn't find an answer to that.

    I simply want to add a dot at the end of my ray interactor when using it in my game, just like you see in the main Meta room on Oculus. How can I achieve that?

    Thanks!
     
  2. kyle_v

    kyle_v

    Unity Technologies

    Joined:
    May 24, 2016
    Posts:
    21
    You can add the component XR Interactor Reticle Visual to your ray interactor GameObject and then set up a sprite of a dot as the reticle prefab. Let me know if you have any issues with this
     
    MatanYamin likes this.
  3. MatanYamin

    MatanYamin

    Joined:
    Feb 2, 2022
    Posts:
    109
    Worked great, thanks a lot!
     
    ericprovencher likes this.