CFrame Weld Problems

This used to work on my previous works but i dont know why its doing this

I set the CFrame before welding but i think it doesnt even try to set the CFrame because its in a random position whether i set the CFrame or not.

Character.Humanoid:LoadAnimation(game.ReplicatedStorage.SwordEquip):Play()
wait(.2)
Character.Sword.SwordBlade.Equip:Play()
Character.Sword.SwordHandle.CFrame = Character.RightHand.CFrame * CFrame.new(-0.114006042, -0.298099518, -0.167905807, -1, 0, 0, 0, 0, -0.99999994, 0, -0.99999994, 0)
Character.Sword.SwordHandle.Weld.Part0 = Character.RightHand

All objects have collisions off and are massless, they are all welded to one part which is the SwordHandle

You should try using a RigidConstraint instead.

RigidConstraints connect two bodies together through the use of attachments. Simply place an attachment in the handle and connect that to the hand’s grip attachment.
image

Inside the RigidConstraint:
image

If you find that the rotation is off, you can rotate the attachment inside the handle to change the orientation.

Make sure the entire sword model is unanchored as well!

Let me know if I can be of any further assistance! :slight_smile:

This worked well! Thank you :slight_smile:

1 Like