Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why does welding models to my character make me slow when turning?

Just started trying out welds and i created this script :

repeat wait() until player.Character:FindFirstChild("Torso") ~= nil
local clonekagune = replicatedstorage.KaguneFolder:WaitForChild("BikakuModel"):Clone() --Model
clonekagune.Parent = player.Character

--Creating Weld
local weldkagune = Instance.new("Weld")
weldkagune.Part0 = player.Character:WaitForChild("Torso")
weldkagune.Part1 = clonekagune:WaitForChild("MainPart")
weldkagune.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
weldkagune.Parent = weldkagune.Part0

And it worked, but there was a small glitchy problem, whenever i press the movement keys {wasd} it tends to make my character turn and walk slowly, is there any way to fix this?

2 comments

0

Also the BikakuModel has a autoweld script and all parts are unanchored and non cancollide

0

Because it has weight/mass. I guess you could change the parts density. Just play around with the physical properties.

2 answers

✓ Accepted answer

The reason why this happens is because speed gets calculated from mass.

If you weld a model to your character, it's mass and size will grow, making it turn slower. As far as im aware theres no way to fix this, because tools have the same issue. (But i could be wrong).

You COULD try to change the CustomPhysicalProperties of the model to have 0 gravity, but i don't think that'll fix it.

3 comments

0

That worked! :D Thanks alot, now how would i be able to animate this, use the Custom Character Creator?

0

Animation editor?

0

xXOverLord34Xx i could help you with animating custom parts and how to use them in your game its quite easy PM me if you want to.

There is a property called Massless for all BaseParts that does this for you. Without having to change physical properties.

This discussion is preserved as it was. New answers, comments, and votes are closed.