I’m trying to make an animation for my game by changing the default animations. It ends up making a weird thing, which I don’t want.
It’s honestly really confusing and I have no clue on how to fix this. If I make my idle’s priority Idle and my run’s priority Movement, it does this:
I’m generally just stumped. I’m setting them in a localscript like this:
animator.run.RunAnim.AnimationId = "rbxassetid://10056330980"
animator.idle.Animation1.AnimationId = "rbxassetid://10049815822"
animator.idle.Animation2.AnimationId = "rbxassetid://10049815822"
If I change the run animation’s priority to Action, I get this:
PLEASE HELP!
1 Like
why can’t you just turn off the idle animation when you start walking?
1 Like
I don’t know how I’ll do that.
Plus, the default animate script should stop the animation when a new one starts.
do you think I could see your script?
Hello,
Here is a rundown of what the priorities do. Certain animations will override others if the weight is the same or less. By default, core animations have the least priority, followed by idle, movement, action, action 2, action 3 and action 4. So when you have it set to action, it plays a bit more of the animation than what it did with the movement priority. Try changing the animation priority to action4, and if that doesn’t work. Try using :AdjustWeight (AnimationTrack:AdjustWeight) in the code and steadily increase the weight of the animation until it overrides the other. Make sure to change the weight after you declare the animation variables. If that doesn’t help, I unfortunately don’t know what will. (I run my animations very differently to you).
Hope this helps,
DaBoss4344
Sorry for the late reply. The code I showed is all I did to edit the default animations. I have tried using priorities multiple times but i got a weird result (the second video).
I am utilizing the default animate script.
I guess I’ll try to utilize a custom aniamte script instead.
I’m back after some tinkering. Turns out an animation that was played at the end of the script caused the strange behavior.
Good to see you figured it out!
Have a nice day,
DaBoss4344
1 Like