I have an animation that gets played every time you shake this light. You can shake it faster than the animation plays, and I can’t figure out how to blend it. So basically how to blend an animation when you call :Play() while it’s playing? I tried using the fade time and animation weight.
Hi! I am not too experienced with Animations, but one solution I can think of is perhaps having an if statements to deal with the consecutive user inputs. Since I assume :Play() then :Stop() should finish one loop (assuming the animation is looped), then as long as the first keyframe for the faster animation is the same as the final keyframe for the regular animation, you should be able to get a smooth transition.
I am making this assumption since I have a jump animation, which smoothly transitions while walking. I am also assuming that consecutive user inputs make it shake faster. I hope this helps!
1 Like