This processes all IKCommand classes assigned to a specific AvatarIKGoal.
◆ IKLimbController()
AC.IKLimbController.IKLimbController |
( |
| ) |
|
◆ AddTarget()
void AC.IKLimbController.AddTarget |
( |
Transform | targetTransform, |
|
|
AnimationCurve | transitionCurve, |
|
|
bool | isInstant ) |
Adds a new IK target.
- Parameters
-
targetTransform | The transform to target |
transitionCurve | A curve to describe the motion |
isInstant | If True, the full weight will be applied instantly |
◆ Clear()
void AC.IKLimbController.Clear |
( |
bool | isInstant | ) |
|
Clears all IK commands
- Parameters
-
isInstant | If True, the effects will be disabled instantly, as opposed to transitioned out smoothly |
◆ CreateSaveData()
string AC.IKLimbController.CreateSaveData |
( |
| ) |
|
Serializes the current state into a single string
◆ LoadData()
void AC.IKLimbController.LoadData |
( |
string | data | ) |
|
Restores a state from a serialized string
◆ OnAnimatorIK()
void AC.IKLimbController.OnAnimatorIK |
( |
Animator | animator, |
|
|
AvatarIKGoal | avatarIKGoal ) |
Applies the effect to an Animator
◆ Update()
void AC.IKLimbController.Update |
( |
| ) |
|