Skip to content

Api > Animator > SetIKHintPositionWeight()


Animator.SetIKHintPositionWeight(AvatarIKHint hint, number value)⚓︎

Sets the translative weight of an IK hint (0 = at the original animation before IK, 1 = at the hint).

Parameters:⚓︎

Name Type Description
hint AvatarIKHint The AvatarIKHint that is set.
value number The translative weight.

Usage⚓︎

---@type Animator
local animator;

---@type AvatarIKHint
local hint;

---@type number
local value;


animator.SetIKHintPositionWeight(hint, value)