![]() |
Humanoid Control for Unity v4
|
Humanoid Tracking sensor.
Public Types | |
| enum | ID { Head , LeftHand , RightHand , Hips , LeftFoot , RightFoot , Tracker1 , Tracker2 , Tracker3 , Tracker4 , Count } |
Public Member Functions | |
| Sensor (DeviceView _device) | |
| Create new sensor the the device. | |
| virtual Tracker.Status | Update () |
| Update the sensor state. | |
Static Public Member Functions | |
| static Rotation | CalculateBoneRotation (Vector bonePosition, Vector parentBonePosition, Vector upDirection) |
Public Attributes | |
| DeviceView | device |
| The device to which the sensor belongs. | |
| Tracker.Status | status = Tracker.Status.Unavailable |
| Status of the sensor. | |
Protected Member Functions | |
| void | UpdateSensor () |
| Passer.Humanoid.Tracking.Sensor.Sensor | ( | DeviceView | _device | ) |
Create new sensor the the device.
| _device |
|
virtual |
Update the sensor state.
Reimplemented in Passer.Humanoid.CustomArm, Passer.Humanoid.CustomHead, Passer.Humanoid.CustomLeg, Passer.Humanoid.CustomTorso, Passer.Humanoid.HeadSensor, Passer.Humanoid.HumanoidSensor, and Passer.Humanoid.LeapHand.