A custom sensor used on the head of a humanoid.
This tracking option supports a custom developed SensorComponent for the head.
|
override void | Start (HumanoidControl _humanoid, Transform targetTransform) |
| Prepares the head for tracking with the tracked sensor.
|
|
override void | Update () |
| Updates the head target based on the status of the tracke sensor.
|
|
virtual void | CheckSensor (HeadTarget headTarget) |
|
virtual void | Init (HeadTarget headTarget) |
|
void | InitController (SerializedProperty sensorProp, HeadTarget target) |
|
void | RemoveController (SerializedProperty sensorProp) |
|
virtual void | CheckSensorTransform () |
|
virtual void | SetSensor2Target () |
|
virtual void | UpdateSensorTransformFromTarget (Transform targetTransform) |
|
virtual void | Stop () |
|
virtual void | RefreshSensor () |
|
virtual void | ShowSensor (HumanoidTarget target, bool shown) |
|
|
virtual void | CreateSensorTransform (string resourceName, Vector3 sensor2TargetPosition, Quaternion sensor2TargetRotation) |
|
virtual void | CreateSensorTransform () |
|
void | CreateSensorTransform (Transform targetTransform, string resourceName, Vector3 _sensor2TargetPosition, Quaternion _sensor2TargetRotation) |
|
virtual void | UpdateNeckTargetFromHead () |
|
void | RemoveSensorTransform () |
|
void | UpdateSensorTransform (Tracking.Sensor sensor) |
|
virtual void | UpdateTargetTransform () |
|
virtual void | UpdateTarget (HumanoidTarget.TargetTransform target, Transform sensorTransform) |
|
virtual void | UpdateTarget (HumanoidTarget.TargetTransform target, SensorComponent sensorComponent) |
|
Vector3 | GetTargetPosition (Transform sensorTransform) |
|
Quaternion | GetTargetRotation (Transform sensorTransform) |
|
void | UpdateSensor () |
|