Version: 1.8
LanguageEnglish
  • C#

TCCDIK.Animations.TCCDIK.InsertWeightedBone(int, 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

index Target position in the IK chain where the bone will be inserted (0-based). Must be within the range [0, boneCount].
transform Transform of the bone to insert into the chain.
weight Influence weight (0-1 range) of the inserted bone in IK calculations. Higher values increase the bone's contribution to reaching the IK goal.

Description

Inserts a bone transform with a custom influence weight at the specified index in the IK chain. Shifts existing bones at and beyond the index to the right.