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

how do I move an entire model?

Asked by
Teeter11 281 Moderation Voter
10 years ago

how do I move everything in a model by positioning it?

2 answers

Log in to vote
1
Answered by
2eggnog 981 Moderation Voter
10 years ago

There are a couple ways to move an entire model.

  • MoveTo - Moves the model to a location while checking for collisions.
  • TranslateBy - Moves the model relative to its current position, but doesn't check for collisions.
  • SetPrimaryPartCFrame - Sets the CFrame of the model's user-defined PrimaryPart, moving & rotating the rest of the model along with it.
Ad
Log in to vote
-1
Answered by
IcyEvil 260 Moderation Voter
10 years ago

I think you would use the > game.Workspace.Model:GetChildren() Method But then you would use something around like this

while true do
f = game.Workspace.Model:GetChildren()
f.Position = Vector3.new(0, 0, 0)
f.Position = Vector3.new(0, 0, 0)
end

Something Like that I think.

Answer this question