Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I adjust speeds of an animation in a character animate script?

Asked by
notfenv 171
4 years ago

Is it possible to do this? I plan on using it alot.

1 answer

Log in to vote
0
Answered by
lolzmac 207 Moderation Voter
4 years ago

When you use AnimationTrack:Play(), there are three parameters that you can edit within the :Play() function.

The first is the fadeTime, the weight, and finally - the one you're looking for - the speed.

If you would like to change the speed of the animation without changing the other options, use the default fadeTime, 0.100000001, and the default weight, 1. Changing the speed without changing the others can be done like: AnimationTrack:Play(0.100000001, 1, yourSpeed).

Also, if you want to change the speed while the animation has already started playing, you can make this adjustment using AnimationTrack:AdjustSpeed().

Ad

Answer this question