Humanoid Control for Unity  v3
Passer.Humanoid.HipsTarget Class Reference

Humanoid Control options for torso related stuff More...

Public Member Functions

override void InitSensors ()
 
override void StartSensors ()
 
override Transform GetDefaultTarget (HumanoidControl humanoid)
 
void RetrieveBones ()
 
override void InitAvatar ()
 
override void InitComponent ()
 
override void StartTarget ()
 
override void MatchTargetsToAvatar ()
 
override void UpdateTarget ()
 
override void UpdateMovements (HumanoidControl humanoid)
 
override void CopyTargetToRig ()
 
override void CopyRigToTarget ()
 
void UpdateSensorsFromTarget ()
 

Static Public Member Functions

static HipsTarget CreateTarget (HumanoidTarget oldTarget)
 
static HipsTarget SetTarget (HumanoidControl humanoid, Transform targetTransform, bool isLeft)
 
static bool IsInitialized (HumanoidControl humanoid)
 
static void DetermineTarget (HumanoidControl humanoid)
 Checks whether the humanoid has an HipsTarget and adds one if none has been found More...
 

Public Attributes

float hipsBaseHeight
 
bool newSpineIK = false
 
TorsoMovements torsoMovements = new TorsoMovements()
 
TorsoAnimator torsoAnimator = new TorsoAnimator()
 
ViveTrackerTorso viveTracker = new ViveTrackerTorso()
 
PerceptionNeuronTorso neuron = new PerceptionNeuronTorso()
 
Kinect1Torso kinect1 = new Kinect1Torso()
 
Kinect2Torso kinect2 = new Kinect2Torso()
 
Kinect4Torso kinect4 = new Kinect4Torso()
 
AstraTorso astra = new AstraTorso()
 
OptitrackTorso optitrack = new OptitrackTorso()
 
TargetedChestBone chest = null
 
TargetedSpineBone spine = null
 
TargetedHipsBone hips = null
 
float bendingFactor = 1
 
float torsoLength
 
Quaternion spine2HipsRotation
 

Static Public Attributes

const float maxSpineAngle = 20
 
const float maxChestAngle = 20
 

Protected Member Functions

override void UpdateSensors ()
 
Quaternion DetermineSpine2HipsRotation ()
 
override void DrawTargetRig (HumanoidControl humanoid)
 
override void DrawAvatarRig (HumanoidControl humanoid)
 

Properties

override Passer.Sensor animator [get]
 
override TargetedBone main [get]
 

Detailed Description

Humanoid Control options for torso related stuff

More information on the Humanoid Control Hips Target Component click here

Member Function Documentation

◆ DetermineTarget()

static void Passer.Humanoid.HipsTarget.DetermineTarget ( HumanoidControl  humanoid)
static

Checks whether the humanoid has an HipsTarget and adds one if none has been found

Parameters
humanoidThe humanoid to check

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