Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Passer.Humanoid.HumanoidTarget Class Referenceabstract

Description

A tracking transform for humanoids.

Inheritance diagram for Passer.Humanoid.HumanoidTarget:
Passer.Target Passer.Humanoid.FootTarget Passer.Humanoid.HandTarget Passer.Humanoid.HeadTarget Passer.Humanoid.HipsTarget

Public Member Functions

Transform GetDefaultTarget (HumanoidControl humanoid)
 
void InitAvatar ()
 
virtual void NewComponent (HumanoidControl _humanoid)
 
void OnDrawGizmos ()
 
void OnDrawGizmosSelected ()
 
virtual void DrawTensions ()
 
void UpdateMovements (HumanoidControl humanoid)
 
void MatchTargetsToAvatar ()
 
void CopyTargetToRig ()
 
void CopyRigToTarget ()
 
virtual void InitComponent ()
 
void StartTarget ()
 
void InitSensors ()
 
virtual void StartSensors ()
 
virtual void StopSensors ()
 
void InitializeTrackingConfidence ()
 Sets the tracking confidence before all tracking information is updated.
 
void UpdateTarget ()
 

Static Public Member Functions

static Vector ToVector (Vector3 vector3)
 
static Vector3 ToVector3 (Vector position)
 
static Rotation ToRotation (Quaternion quaternion)
 
static Quaternion ToQuaternion (Rotation orientation)
 
static void SetRotation (Transform transform, Rotation orientation)
 
static void DrawTarget (Confidence confidence, Transform target, Vector3 direction, float length)
 
static void DrawTargetBone (TargetedBone bone, Vector3 direction)
 
static void DrawTargetBone (TargetTransform target, Vector3 direction)
 
static void DrawAvatarBone (TargetedBone bone, Vector3 direction)
 
static void DrawAvatarBone (BoneTransform bone, Vector3 direction)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, Bone boneId, params string[] boneNames)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, HumanBodyBones boneID, params string[] boneNames)
 
static void GetDefaultTargetBone (Animator rig, ref Transform boneTransform, Bone boneID, params string[] boneNames)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, params string[] boneNames)
 
static List< Collider > SetColliderToTrigger (GameObject obj)
 
static List< Collider > SetColliderToTrigger (Rigidbody rb)
 
static void UnsetColliderToTrigger (List< Collider > colliders)
 
static void UnsetColliderToTrigger (List< Collider > colliders, Collider collider)
 

Public Attributes

HumanoidControl humanoid
 

Protected Member Functions

virtual void DrawTargetRig (HumanoidControl humanoid)
 
virtual void DrawAvatarRig (HumanoidControl humanoid)
 
virtual void DrawTensionGizmo (TargetedBone targetedBone)
 
virtual void UpdateSensors ()
 

Protected Attributes

bool _showRealObjects = true
 

Properties

TargetedBone main [get]
 
Sensor animator [get]
 
virtual bool showRealObjects [get, set]
 show the target meshes
 

Member Function Documentation

◆ DrawTargetRig()

virtual void Passer.Humanoid.HumanoidTarget.DrawTargetRig ( HumanoidControl  humanoid)
protectedvirtual

Reimplemented in Passer.Humanoid.HeadTarget.

◆ DrawAvatarRig()

virtual void Passer.Humanoid.HumanoidTarget.DrawAvatarRig ( HumanoidControl  humanoid)
protectedvirtual

Reimplemented in Passer.Humanoid.HeadTarget.


The documentation for this class was generated from the following file: