Version: 5.4
public float legStretch ;

説明

IK 使用のときに許容する脚の伸び幅

Inverse Kinematics (IK) can often be handled more smoothly if a small amount of "slack" is allowed in the positions of bones relative to each other. This property controls how much slack is available in the leg joints.

値の範囲はワールド座標で 0 から 1。デフォルトの値である 0.05 の場合、IK ゴールがターゲットの 95% まで到達したとき腕は伸び始め、5% 伸びます。伸びは肘と手首の Transform を移動させることにより実現されます。

理想的な値はリグとアニメーションに依存しますが、一般的にはより大きな値にすることで IK 計算がスムーズになる代わりに脚の伸び幅がより非現実的になります。

関連項目: armStretch.