Hey, so I was just wondering if there was any way to get rid of this delay I’m noticing in my animation. (It happens at the end of the clip.) Basically, you’ll notice the animation takes a split second to load. It’s just a looped pose animation, with only one keyframe. For some reason though, it still takes a bit to get to that single keyframe.
Any help appreciated, thank you!
7z99
(cody)
July 2, 2021, 1:30am
#2
Could you provide your script?
1 Like
heII_ish
(heII_ish)
July 2, 2021, 1:37am
#3
You could try messing around with the fadeTime and weight of the animation track (if you haven’t already)
3 Likes
CoderHusk
(CoderHusk)
July 2, 2021, 1:54am
#4
you need to load it at the start of the game, duh
I did, smartie.
--//preload
rig.Humanoid.Animator:LoadAnimation(animation)
It also happens for every new Freddle that spawns, so it’s not an initial load issue I wouldn’t think.
CoderHusk
(CoderHusk)
July 2, 2021, 1:58am
#6
oh yea i see now it like t poses for a second lmao. is it a custom rig?
1 Like
Yeah, I found it on the asset marketplace.
CoderHusk
(CoderHusk)
July 2, 2021, 2:03am
#8
well iirc roblox has different modes for their animations, it looks like you got the interpolated one when i think you should use the robo one (constant enum iirc)
1 Like
Oh that’s interesting
How would I go about changing it? Is that like an AnimationTrack property??
CoderHusk
(CoderHusk)
July 2, 2021, 2:06am
#10
i just read at the docs and @heII_ish already gave you the answer, you have to change the weight to the constant enum
1 Like
Not sure if I did it correctly, but I just tried using different weight combinations with a fade time of 0, and that did absolutely nothing different.
CoderHusk
(CoderHusk)
July 2, 2021, 2:12am
#12
2 Likes
I tried using the :AdjustWeight()
method on the AnimationTrack
Did you mean changing the weight of the animation via the animation editor??
My brain is gonna explode.
I set it to Constant.
It does the same thing.
I love Roblox sometimes
1 Like
Not sure about this but, If you want the animation to play instantly, you need to move the keyframes to the 0 position, so check that!
2 Likes