All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | List of all members
BipedIK Class Reference

IK system for standard biped characters that is designed to replicate and enhance the behaviour of the Unity's built-in character IK setup. More...

Inheritance diagram for BipedIK:
Inheritance graph
[legend]
Collaboration diagram for BipedIK:
Collaboration graph
[legend]

Public Member Functions

float GetIKPositionWeight (AvatarIKGoal goal)
 Gets the IK position weight. More...
 
float GetIKRotationWeight (AvatarIKGoal goal)
 Gets the IK rotation weight. More...
 
void SetIKPositionWeight (AvatarIKGoal goal, float weight)
 Sets the IK position weight. More...
 
void SetIKRotationWeight (AvatarIKGoal goal, float weight)
 Sets the IK rotation weight. More...
 
void SetIKPosition (AvatarIKGoal goal, Vector3 IKPosition)
 Sets the IK position. More...
 
void SetIKRotation (AvatarIKGoal goal, Quaternion IKRotation)
 Sets the IK rotation. More...
 
Vector3 GetIKPosition (AvatarIKGoal goal)
 Gets the IK position. More...
 
Quaternion GetIKRotation (AvatarIKGoal goal)
 Gets the IK rotation. More...
 
void SetLookAtWeight (float weight, float bodyWeight, float headWeight, float eyesWeight, float clampWeight, float clampWeightHead, float clampWeightEyes)
 Sets the look at weight. More...
 
void SetLookAtPosition (Vector3 lookAtPosition)
 Sets the look at target. More...
 
void SetSpinePosition (Vector3 spinePosition)
 Sets the spine IK position. More...
 
void SetSpineWeight (float weight)
 Sets the spine weight. More...
 
IKSolverLimb GetGoalIK (AvatarIKGoal goal)
 Gets the limb solver for the IK Goal. More...
 
void InitiateBipedIK ()
 (Re)Initiates the biped IK solvers. More...
 
void UpdateBipedIK ()
 Updating BipedIK More...
 
void LogWarning (string message)
 Logs the warning if no other warning has beed logged in this session. More...
 
- Public Member Functions inherited from SolverManager
void Disable ()
 [DEPRECATED] Use "enabled = false" instead. More...
 

Public Attributes

BipedReferences references = new BipedReferences()
 References to character bones. More...
 
BipedIKSolvers solvers = new BipedIKSolvers()
 The IK solvers. More...
 
- Public Attributes inherited from SolverManager
bool fixTransforms = true
 If true, will fix all the Transforms used by the solver to their initial state in each Update. This prevents potential problems with unanimated bones and animator culling with a small cost of performance. Not recommended for CCD and FABRIK solvers. More...
 

Detailed Description

IK system for standard biped characters that is designed to replicate and enhance the behaviour of the Unity's built-in character IK setup.