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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Leap Motion : collision between hand and fixed objects

Discussion in 'Physics' started by Baolo, Apr 25, 2016.

  1. Baolo

    Baolo

    Joined:
    Feb 8, 2016
    Posts:
    3
    Hello,

    I just bought the Leap Motion with the aim to use it in Unity with the Oculus DK2. To use it I downloaded the .unitypackage on the developpers zone of leap motion.
    It works very fine. I manage to move objects with my hands.
    Now I want to have fixed objects which will block my virtual hand. I tried several solutions :
    -just use a collider ; the hand pass through the object
    -add a rigidbody and full freeze it ; the hand pass through the object
    -add a fixed join ; the object move when I touch it and come to it initial position
    Does anyone have an idea how get this result?

    Thanks
     
  2. acolgan

    acolgan

    Joined:
    Sep 1, 2015
    Posts:
    12
    We would generally recommend against overriding user-driven hand motion, for some of the same reasons that you should never override user-driven head motion -- it's really disconcerting and breaks presence.