Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to work with RayCast on HoloLens 2

Discussion in 'VR' started by Revolution99, Jul 9, 2019.

  1. Revolution99

    Revolution99

    Joined:
    Sep 29, 2015
    Posts:
    5
    Hello !

    I want to display Holograms based on how far they are from other objects. Basically I want to display holograms based on if there is enough space to put one. I thought of doing this somehow with RayCast. Does anyone have any tutorials or sample code that could help me with this ?

    Thank you in advance!

    Sincerely,
    Michelangelo