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

Moving a model?

If I had a model and there was a part in the model called 'binder', which the whole model is welded to. To move it would I be able to move the model by applying BodyVelocity to binder or would I have to move all of them separately? Sorry this isn't script related, and if it breaks regulations

1 comment

0

Yes that would work, because you're moving a part that all the other ones are attached to.

1 answer

g = game.Workspace.ModelNameHere:GetChildren() for I = 1,#g do if g[I].ClassName == "Part" then g[I[.Position = Vector3.new(yourpositionhere) end end this is useful however you may need to unpack your models in order for it to work

1 comment

0

This looks like a complicated form of ":TranslateBy". That's still inefficient when "model.PrimaryPart = model.part" and ":SetPrimaryPartCFrame" exist, though.

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