Animator

Animator : Instance

Properties

EvaluationThrottled

bool

EvaluationThrottled is a boolean property indicating whether the animation evaluation process is currently throttled for performance optimization purposes.

Code Samples

PreferLodEnabled

bool

PreferLodEnabled enables or disables the preference for Level of Detail (LOD) optimization in the animator.

Code Samples

RootMotion

CFrame

RootMotion represents the relative velocity and orientation changes applied to a character's root bone during animation.

Code Samples

RootMotionWeight

number

RootMotionWeight is a number property that controls the influence of root motion on an animation blending.

Code Samples

Methods

ApplyJointVelocities

The ApplyJointVelocities method accepts a reference to a Value containing motor data and applies joint velocities to specified motors or joints in a system.

Parameters

Value motors

Contains data for motors or joints

Return

void

Code Samples

GetPlayingAnimationTracks

The GetPlayingAnimationTracks method retrieves all currently playing AnimationTracks.

Parameters

Return

array

Code Samples

LoadAnimation

The LoadAnimation method loads an Animation object and creates a corresponding AnimationTrack.

Parameters

Animation InAnimation

The Animation object to be loaded

Return

AnimationTrack

Code Samples

RegisterEvaluationParallelCallback

It registers a callback function, allowing parallel execution alongside animation evaluation.

Parameters

Value InFunction

A Lua function to be executed in parallel

Return

void

Code Samples

StepAnimations

The StepAnimations method updates animations based on the specified time increment (InDeltaTime).

Parameters

number InDeltaTime

Time duration to progress animations

Return

void

Code Samples

Events

Last updated