So, my issue is straight forward but also really weird, as such I have no idea where to put this.
So, I have some animations, 2 that get loaded onto the character and 6 that get loaded onto a viewmodel.
All work fine except for 1 of the 2 character animations, the Idle one.
Do note:
- All animations are uploaded to my group.
- All animations have their priority set to Action 1-4.
- All animations that should be looped are looped.
I don’t see any reason why this shouldn’t work??
My code for initiating animations:
--// Viewmodel
for _, v in pairs(script.Animations.AR:GetChildren()) do
if v:IsA("Animation") then
Animations[1][v.Name] = Viewmodel.Humanoid.Animator:LoadAnimation(v)
end
end
--// Character
for _, v in pairs(script.Animations.CharacterAnims.AR:GetChildren()) do
if v:IsA("Animation") then
Animations[1][v.Name.."CHR"] = Animator:LoadAnimation(v)
end
end
My code for playing animations:
--// This same code is used everywhere, but the idle animation just doesn't work??
Animations[Num][AnimName]:Play()
The character idle animation is a 1 frame looped animation, which has worked elsewhere.
Extending the animation to be more than 1 frame has no effect.
List of things with no effect:
- Reploading the animation
- Restarting Studio
- Waiting 10+ minutes
- Reimporting the animation & reuploading
- Setting priority to action 4