Search Unity

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.