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!
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()