Welding changes position by a lot

i’m trying to weld my character to a brick, but welding (atleast the way I do it) will kick my character 300000 miles away


                Player.Character.HumanoidRootPart.Anchored = true
                
                local wc = Instance.new('WeldConstraint')
                wc.Part0 = workspace.Map.waterEdge
                wc.Part1 = Player.Character.LowerTorso
                wc.Name = "Weld ".. Player.Name
                wc.Parent = workspace.Map.waterEdge
                
                Player.Character.HumanoidRootPart.Anchored = false

What are you trying to do exactly?

If you want the player to attach to the water, don’t set the anchored to true. Instead, enable the Humanoid’s PlatformStanding. Also, set the CFrame (wc.C0/wc.C1) before setting Part0 and Part1

It might be tricky to get the correct wc.C0, depending on what you’re doing. Though a good idea is to take your characters position and subtract it by the water’s position. I haven’t done it in a while, so it might be the opposite here. Try it out and see what happens.

Good luck.

don’t weldconstraints not use.C0 and .C1?

Just noticed you were using a weld constraint. Ignore my comments on the wc.C0 stuff, but everything else should still be relevant.

Try using normal welds with a c0 like this

Weld.C0 = water.CFrame:Inverse()*hrp.LowerTorso.CFrame
1 Like