Search code examples
unity-game-engineleap-motion

Difference between Hand direction vs palm Normal


What is the difference between Hand.Direction and Hand.PalmNormal? in the documentation, both methods have mentioned that "The direction is expressed as a unit vector pointing in the same direction as the directed line from the palm position to the fingers." what is the exact direction of the palm? is palm normal the normal vector of the direction?


Solution

  • Hand.Direction vs Hand.PalmNormal

    Hand.Direction is like if you took a pencil and bridged the distance from the middle of your palm towards your fingers. Hand.PalmNormal would be if you took a pencil and put the eraser end of it flat on your palm, ignoring anything the fingers are doing.

    To see for yourself, there is a demo you can check out. Also, here is a graphical depiction:

    enter image description here