Class Leap::PhysicalHands::ContactHand¶
- class Leap.PhysicalHands.ContactHand : public MonoBehaviour¶
Subclassed by Leap.PhysicalHands.HardContactHand, Leap.PhysicalHands.NoContactHand, Leap.PhysicalHands.SoftContactHand
Public Functions
- ContactBone GetBone (int fingerIndex, int jointIndex)¶
Helper function to obtain a specific bone of the hand.
- Param fingerIndex
0-4 starting from the thumb
- Param jointIndex
0-2 starting from the proximal
- Return
- void IgnoreCollision (Rigidbody rigid, Collider[] colliders, float timeout = 0, float radius = 0)¶
Disables all collisions between a rigidbody, its colliders and the contact hand. Will automatically handle all colliders on the rigidbody. Timeout lets you specify a minimum time to ignore collisions for.