Class Leap::PhysicalHands::ContactBone::ClosestColliderDirection

class Leap.PhysicalHands.ContactBone.ClosestColliderDirection

Public Members

bool isContactingCollider

Is this bone contacting the collider associated with this ClosestColliderDirection?

Vector3 bonePos = Vector3.zero

The closest position on the hovering bone

Vector3 direction = Vector3.zero

The direction from the closest pos on the bone to the closest pos on the collider

float distance = 0f

Distance from the edge of the bone