I ran into a weird glitch when trying to add animations to my dual wield system.
Here when I shoot the gun in my right hand for some reason the slide on the gun in the left hand also moves, even though it’s not meant to and there are no keyframes to make it do that. Anyone have any ideas how to fix this?
(same happens the other way around, if I shoot the gun in my left hand, the slide on the right one also moves)
Same happens when I play the animation on the server
This sounds like your code is playing the gun slide animation upon shooting regardless of whether it’s the one that shot or not. You should verify if that’s the case.
So from what I’m understanding the arm moving back and the slide are both part of the animation (lmk if that’s incorrect).
That doesn’t explain why the left arm doesn’t move back but the slide does in that clip. A video of the keyframes and animation in action within the Animation Editor might help figure it out.
I’m also still slightly inclined to believe there is another animation playing in the background. Try running this code immediately after playing the firing animation:
What about the keyframes in the animation editor? Are you positive there are no keyframes within the sequence that tie it to the other gun? Are the guns linked with the Left / Right hand and not just directly jointed to the root part?