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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to get points only when set controller hand movement used to collect objects

Discussion in 'AR/VR (XR) Discussion' started by dgyorodi, Jun 30, 2022.

  1. dgyorodi


    Aug 13, 2021
    I am trying to see how I can spawn a random number of objects to 2 reference points behind the camera and add up the number of objects collected, but I want to have a restriction that objects coming from the left-hand side will only generate a point if collected with the left-hand controller and same for right hand. Is there a way to do that?

    Also, is there a way to set only a specific hand movement to generate points, like the object has to be hit like a boxing bag not grabbed in order to get a point (similar to how the FitXR game works).