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 do you detect if an object is in the players hand? oculus touch

Discussion in 'AR/VR (XR) Discussion' started by prodigal_prodigy21, Mar 6, 2019.

  1. prodigal_prodigy21

    prodigal_prodigy21

    Joined:
    Jan 9, 2017
    Posts:
    25
    i need a way to find out what object the player picks up in game. does anyone know how to check in a script what object the player is picking up?
     
  2. dtrevillyan

    dtrevillyan

    Joined:
    Nov 16, 2018
    Posts:
    3
    That depends on how the object is "picked up" in the VR game. You will need to provide some additional detail on how you are doing this to allow anyone to answer your question.