Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Model is too heavy and kills the player?

Asked by 8 years ago

I made a model out of unions and need to make it so the model follows the players Torso position without glitching out. So far I've tried BodyPosition and CFrame, however both are very buggy. Is there another method I could use besides welding the model to the player that will make the model seem weightless? Here's the two methods I used for far: part = script.Parent char = part.Creator.Value torso = char.Torso while true do part.CFrame = torso.CFrame*CFrame.new(0, 0, 0) wait(0.001) end

part = script.Parent bp = part.BodyPosition char = part.Creator.Value torso = char.Torso while true do bp.Position = torso.Position + Vector3.new(0, 0, 0) wait(0.001) end

0
To make a part weightless insert a BodyForce into the part with a force of (0, 196.2 * part:GetMass(), 0). duckwit 1404 — 8y
0
@duckwit I don't think the player would be able to move as well that way, due to inertia aquathorn321 858 — 8y
0
@aquathorn It may if you set the union to be about 5 studs behind the torso ChemicalHex 979 — 8y
0
Well, the entire model is welded to one part that welds to the torso. I did the bodyforce, however it made the player fly out. I changed the force from 196.2 to 100, however it's still has some weight to it. Is the part suppose to just float up in the air? OneTruePain 191 — 8y

Answer this question