Hello there, I’m having a bit of an issue with animations in my game. Whenever I’m animating something, the playback seems really smooth, however playing it in game it seems like animations are holding on keyframes for fractions of a second.
For example, this was happening a while ago until I exported thru Moon Animator:
VS
(If you need higher quality, I can provide it, but it should be clear how laggy it is.
The problem seems to now happen on a new placeholder animation I was working on:
VS
I am running these animations through a LocalScript, loaded on the Humanoid.Animator.
If anyone could explain why this might be happening, I’d really appreciate it.
AnimationTrack:Play() has optional parameters, being fadeTime, weight, and speed. By default, fadeTime is set to about 0.1. fadeTime is takes (in seconds) to ease into the animation’s pose. Try setting it to 0.
Question, are you sure the animation track is playing only once?
This problem could occur if you’re playing the animation track inside a loop or something alike.
Only once. There is a debounce. I’m sorry for the late response, it seems like the forum didn’t give me notifications for that reply. I’ve even loaded anims like this onto a blank dummy and a simple:Play() and it hasn’t worked.
Nope, it’s run in a client script. Weirdly, this was happening with the halberd until I imported it to Moon and re-exported it. I did the same for the sword but I’d still like to see if there’s an explanation behind it.
Can you please screenshot the whole animation track? That’s needed to check what framerate you have. To change the framerate, go to the top right corner of the animation editor, and set frames to custom. Then, change the framerate and make it higher until it fits your liking!
I’m fairly sure the first GIF has the whole animation track? In the editor it looks fine.
The second GIF shows how it’s choppy when I use playback in-game.