Version: 1.8
LanguageEnglish
  • C#

TLookAtIK.clampWeight

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

public float clampWeight;

Description

Gets or sets the weight (0-1 range) that controls how strictly the solver clamps bone rotations to natural limits. A weight of 0.0 disables clamping (allowing potentially unnatural rotations to reach the goal); a weight of 1.0 enforces strict rotation limits to prevent unrealistic head/eye/spine poses. This ensures the character's look-at movement stays anatomically plausible.