Humanoid Control for Unity v4
|
Leap Motion Hand to on the arm of a Humanoid
Hands are fully tracked (positional and rotational) while the hands are in the tracking range of the Leap Motion. Full hand movements are supported with bending values for each finger individually while the hands are in the tracking range of the Leap Motion.
Inherits Passer.Humanoid.Tracking.ArmSensor.
Public Types | |
enum | ID { Head , LeftHand , RightHand , Hips , LeftFoot , RightFoot , Tracker1 , Tracker2 , Tracker3 , Tracker4 , Count } |
Public Member Functions | |
override void | CheckSensor (HandTarget handTarget) |
override void | Start (HumanoidControl _humanoid, Transform targetTransform) |
override void | Update () |
Update the sensor state. | |
Public Attributes | |
bool | isLeft |
TargetData | shoulder |
TargetData | upperArm |
TargetData | forearm |
TargetData | hand |
Finger | thumb |
Finger | indexFinger |
Finger | middleFinger |
Finger | ringFinger |
Finger | littleFinger |
Finger[] | fingers |
DeviceView | device |
The device to which the sensor belongs. | |
Tracker.Status | status = Tracker.Status.Unavailable |
Status of the sensor. | |
Protected Member Functions | |
virtual void | UpdateHand () |
void | UpdateSensor () |
Properties | |
override string | name [get] |
override HumanoidTracker | tracker [get] |
LeapTracker | leapTracker [get] |
Vector | localSensorPosition [get] |
Rotation | localSensorRotation [get] |
Vector | sensorPosition [get] |
Rotation | sensorRotation [get] |
float | positionConfidence [get] |
float | rotationConfidence [get] |
Vector | sensor2TargetPosition [get, set] |
Rotation | sensor2TargetRotation [get, set] |
|
virtual |
Update the sensor state.
Reimplemented from Passer.Humanoid.Tracking.Sensor.