I’m trying to animate a custom rig.
When I play the animation in Moon Animator, the animation plays correctly. However, when I try it in-game the animation doesn’t play properly.
Edit: Forgot to mention, can somebody help me fix this issue or point me in the right direction?
I’ve encountered this issue in the past on R15 and R6 rigs so I’d just have to make the animations incorrectly in Moon Animator to try to get them to look correct in-game, but for this custom rig, it’s not plausible.
Here’s my script to play the animation:
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local idleanim = humanoid:LoadAnimation(animation)
idleanim.Looped = true
idleanim:Play()
Here’s two video of the editor vs the in-game result: