Animator.SetTarget(AvatarTarget targetIndex, number targetNormalizedTime)
Sets an AvatarTarget and a targetNormalizedTime for the current state.
Parameters:
Name | Type | Description |
---|---|---|
targetIndex | AvatarTarget | The avatar body part that is queried. |
targetNormalizedTime | number | The current state Time that is queried. |
Usage
---@type Animator
local animator;
---@type AvatarTarget
local targetIndex;
---@type number
local targetNormalizedTime;
animator.SetTarget(targetIndex, targetNormalizedTime)