Version: 1.8
LanguageEnglish
  • C#

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

index 0-based index of the bone position to update. Must be within the range [0, boneCount - 1] to target a valid existing bone.
transform The new Transform to assign to the specified index. Replaces the existing bone transform at that position.

Description

Replaces the bone transform at the specified index in the IK chain. The chain's length and other bones remain unchanged, only updating the target position's bone reference.