C# Class SA.FullBodyIK.BodyIK

Show file Open project: Stereoarts/SAFullBodyIK

Public Methods

Method Description
BodyIK ( FullBodyIK fullBodyIK, LimbIK limbIK ) : UnityEngine
Solve ( ) : bool

Private Methods

Method Description
_ComputeCenterLegBasis ( Matrix3x3 &centerLegBasis, Vector3 &spinePos, Vector3 &leftLegPos, Vector3 &rightLegPos ) : bool
_ComputeWorldTransform ( ) : void
_ConcatPull ( float pull, float effectorPull ) : float
_GetBalancedPullLockFrom ( float pullFrom, float pullTo ) : float
_GetBalancedPullLockTo ( float pullFrom, float pullTo ) : float
_GetBaseCenterLegTransform ( Vector3 &centerLegPos, Matrix3x3 &centerLegBasis ) : void
_GetLerpRateFromPull2 ( float pull0, float pull1 ) : float
_GetRotation ( Vector3 &axisDir, float theta, float rate ) : Quaternion
_IsEffectorEnabled ( ) : bool
_KeepLength ( Vector3 &posTo, Vector3 &posFrom, float keepLength ) : bool
_KeepMaxLength ( Vector3 &posTo, Vector3 &posFrom, FastLength &keepLength ) : bool
_KeepMaxLength ( Vector3 &posTo, Vector3 &posFrom, float keepLength ) : bool
_LowerSolve ( bool firstPass ) : void
_Prepare ( FullBodyIK fullBodyIK ) : void
_PrepareSolverInternal ( ) : bool
_PrepareSpineBones ( Bone bones ) : Bone[]
_PresolveHips ( ) : void
_ResetCenterLegTransform ( Vector3 &centerLegPos, Matrix3x3 &centerLegBasis ) : void
_ResetShoulderTransform ( ) : void
_ResetTransforms ( ) : void
_ShoulderResolve ( ) : void
_SyncDisplacement ( ) : void
_UpperSolve ( ) : bool
_UpperSolve_PreTranslate2 ( Vector3 &translate, CachedRate01 &translateRate, CachedRate01 &stableRate, Vector3 &stableCenterLegPos ) : bool
_UpperSolve_PresolveBaseCenterLegTransform ( Vector3 &centerLegPos, Matrix3x3 &centerLegBasis ) : void
_UpperSolve_Transform ( int origIndex, Matrix3x3 &transformBasis ) : void
_UpperSolve_Translate2 ( CachedRate01 &translateRate, CachedRate01 &stableRate, Vector3 &stableCenterLegPos ) : void

Method Details

BodyIK() public method

public BodyIK ( FullBodyIK fullBodyIK, LimbIK limbIK ) : UnityEngine
fullBodyIK FullBodyIK
limbIK LimbIK
return UnityEngine

Solve() public method

public Solve ( ) : bool
return bool