Skip to content

Commit

Permalink
Putitfix for ArmEffector.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora authored and Nora committed Feb 28, 2016
1 parent 489fddd commit 3241056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Scripts/FullBodyIK/BodyIK.cs
Expand Up @@ -2222,6 +2222,7 @@ public void Translate( ref Vector3 origTranslate )
if( armEffector.positionEnabled && armEffector.positionWeight > IKEpsilon ) {
if( !destArmPosEnabled ) {
destArmPos = armEffector._hidden_worldPosition;
destArmPosEnabled = true;
} else {
destArmPos = Vector3.Lerp( destArmPos, armEffector._hidden_worldPosition, armEffector.positionWeight );
}
Expand Down

0 comments on commit 3241056

Please sign in to comment.