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 ()
 Safely disables this component, making sure the solver is still initated. Use this instead of "enabled = false" if you need to disable the component to manually control it's updating. 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
float timeStep
 The updating frequency More...
 
bool fixTransforms = true
 If true, will fix all the Transforms used by the solver to their default local states in each Update. 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.