I have a few sword animations on my game, and one of them has the swords floating on the character’s back. On the animator, they look good, but in-game, they start bouncing for some reason, and I can’t seem to understand why. I didn’t see any topic talking about this or a solution, so any help is appreciated!
try doing GetPlayingAnimationTracks on loop to those two and see if maybe you have multiple animations playing by accident
I also considered maybe they’re collidable, but I doubt it because the movements would be more sharp. I think that’s still worth checking though
also, how did you attach them to the character? are they rigged on and using the same Animator? or do both keys have separate Animators than the character?
you might get weird behavior if you don’t use a single animator
Also, it’s worth noting this happens everytime I try to make this kind of idle. On the old version of my game, this happened, but it was extremely more noticeable than here. It doesn’t happen on any other dual wielding animation, only on this specific one where the swords are floating on nearly the same place.
I had a weird issue where I animated tools with Motor6Ds and on the client, it would look fine but something to do with CurrentAngle made the handle be in a completely different position on the server & client. I don’t know if this is relevant to your issue but it could provide possible insight.
maybe try disabling AutomaticScalingEnabled
that caused some issues for me in animations before, but it was when I adjusted the HipHeight, so it shouldnt affect your model too much
also, are you handling this animation on clientside or serverside? this should be clientside because on serverside, it might be skipping some keyframes when sending to the client and making the client do weird transitions from the current frame to the new frame that it skipped to
Is the orientation and position the same as the animation rig? Usually if you use a rig editor it’s possible the orientation on the rig is like (0,90,0) like the R6 dummy arms which causes the difference.
You can check using C0:ToOrientation()
And convert to radians.
Also part0 and Part1 the same?
Is the root part the humanoid root part and not the swords by any chance?
Part:GetRootPart(), if it’s different you can change the root priority.