Animation plays differently on avatar than dummy

Hello i made an animation for my weapon that I plan to use for my game. When I try to swing it, the sword goes away from my camera. The thing is, it does not do this in animation editor neither for a dummy. I use motor 6 to weld the weapon to the same part thats in the dummy but it is still causing a bit of an issue.

Vid

I’ve tried looking for solutions on the dev forum but couldn’t find any that describes my problem. I also tried naming the motor 6 the same and re exporting the animation, making sure everything is in check but it still happens.

Thank you for reading this, your help is appreciated!

Had the same issue as you. Try setting the animation priority to action.

oh the animation priority is action, its still giving issues how ever

i can try re exporting it with action. maybe that would work

1 Like

Also see if the handle is still on the hand. It worked for me when the entire animation the handle was on the hand

1 Like

it is on my hand but the issue still persists. also sorry for
late reply

I think it happends because i use CFrame.Inverse() to set the welds position. is their another way to do this?

and also, do you use CFrame.Inverse() to keep your motor6d positions?

I didnt do that. All I did was that I got the animation I’d, then I played the animation when the mouse was clicked. I didnt use any cframes.
Edit:I cant show the code since I’m on mobile, I’ll send you the code a bit later.
Double edit: remember you have to motor 6d all the parts of the sword to your body attach part then motor 6d the body attach part to the humanoid root part.

im sorry can you explain that last part a bit more? its not that its glitched, i just want to know a way to set a motor6D CFrame without using the inverse stuff. I understand why you dont use CFrames and thats because u did not animate the weapon itself but im having issues. i just want the Motor6D weld to retain the same position when welded without using CFrame.Inverse()

Sorry if I’m being confusing. Here is a short tutorial video that’s on kinda how I animate tools.