Constraints are freezing my character

I am trying to make a grappling hook but if I anchor the hook, or weld it to an anchored part, then it freezes me entire character.
please for the love of god do not say I am anchoring the character I AM NOT

I have tried messing with the root priority, does nothing.
I have tried setting the entire characters network owner to the player. Nothing. I literally put this in a loop.

game:GetService("Players").PlayerAdded:Connect(function(player)
	game:GetService("RunService").Heartbeat:Connect(function(dt)
		for i,v in pairs(workspace:WaitForChild(player.Name):GetDescendants()) do
			if v:IsA("BasePart") then
				v:SetNetworkOwner(player)
			end
		end
	end)
	print("Welcome ", player.Name)
end)

Probably this is happening?
The grappling hook is a mesh, welded to your character, making it part of the character, when you anchor the hook, the arm of ur character gets anchored so the entire body. (idk if thats the case)

No. Everything is a union, and the whole body is connected by constraints, not welds. I tested if I disable the spring constraint and it unfreezes the character.

The spring constraint is the one that uses the grappling hook, right?
Well, if those are welds or constraints, I think works the same, the hook itself became part of your character, when anchor it, whole body gets anchored. Similar to when a player grabs an anchored tool. Thats what I guess. I should test it Im not sure.

Maybe change the approach on how the grappling hook works?

I don’t think a spring constraint is a weld lol

In the script that handles the creation of the hook and whatnot, parent the hook to workspace. any anchored part or constraint connecting an anchored part to a character will act as if the player is anchored to my knowledge.

if the anchored hook is part of the tool, which is automatically parented to the character equipping it, then maybe move it out of the tool? dunno.

if you’ve already done this and it’s still broken, i have no idea what you could do next.

can we have a snippet of code or a game file?

Well I fixed it, messing around with the root priority and primary parts of the models. Anyway the grappling hook was part of the starter character and wasn’t a tool instance.

1 Like

Ah. Nice work!

OnlyTwentyCharacters