Version: 1.8
LanguageEnglish
  • C#

TFBIK.Animations.TFBIK.SetRotationWeight(Transform, float)

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Parameters

goal The goal transform of the target pair to configure.
weight The rotation influence weight (0-1 range) to assign. Values outside [0,1] are clamped to this range.

Description

Sets the rotation influence weight for the target pair associated with the specified goal. Higher values increase the solver's focus on aligning the bound bone's orientation with the goal. Has no effect if the goal is not found in the solver.