I’ve been using the Animator object found under the Humanoid to animate the weapons in my game.
However, while I was testing the animations online, I started noticing the looped idle pos animation for my weapons was no longer playing correctly.
The bug only happens client-side, and it only seems to appear on players who had joined the game prior to the client joining the game.
Additionally, the bug fixes itself if the character experiencing the problem is respawned.
Video:
(0:00-0:08 shows normal behavior)
(0:13-0:37 shows the bug only happening for the user donovandude01, most likely due to the user hungerfan22 respawning after I joined.)
(0:42-0:49 shows the bug happpening for both users)
I hate to bump this, but since no admin has responded yet I have to assume they haven’t seen it yet.
There is no easy workaround to this issue. The only way I can fix it is if I update all of roblox’s animations so they don’t move the player’s arms, then I would need to make my weapon actually load the arm pose into the Left/Right Shoulder, and invert my animations to reflect this change in the model’s rig.
As you can imagine, this is completely ridiculous.
Should I be posting this in the bug tracker on github?
Do you guys need a copy of the animation or place to reproduce the issue?
Is it not easy enough for you guys to replicate from what I provided? I can make a place designed to specifically show the issue automatically to a single person.
Yes, a simplified version will make it much easier to discover what the issue might be.
Still, you shouldn’t be using the Animator object to drive your animations. I would recommend using the Humanoid or AnimationController object if you’re not animating a Humanoid.
[quote] Yes, a simplified version will make it much easier to discover what the issue might be.
Still, you shouldn’t be using the Animator object to drive your animations. I would recommend using the Humanoid or AnimationController object if you’re not animating a Humanoid. [/quote]
Correct me if I’m wrong, but does Humanoid:LoadAnimation() work server-side? If not, do AnimationControllers work when placed under a player’s character?
Humanoid:LoadAnimation() will work server-side, but it should only be used to animate server controlled NPCs.
AnimationControllers may work under a PC, but if the Humanoid is also playing animations, they may conflict and the behavior will not be determinate. It would be better to use the Humanoid to drive the character’s animation, which would prevent animations from conflicting and prevent having duplication of code objects, since Humanoids already have all the same functionality as the AnimationController.