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

How to CFrame an entire model? [Solved]

Asked by 7 years ago
Edited by Pyrondon 7 years ago

I know how to CFrame move a single part. But I have no idea how to move an entire model.

I was thinking of using a FOR loop to move each part, got my algorithm design there.

No idea how to script that though.

2 answers

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

I asked Community Chat on how to do it. @Pyrondon gave me links to figure it out myself. wiki.roblox Primary Part wiki.roblox Set Primary Part CFrame

From my reading, setting a part as a primary part of the model, and CFraming that part will make the other parts in the model also move/rotate.

Answering my own questions, heh.

Ad
Log in to vote
0
Answered by
Nowaha 459 Moderation Voter
7 years ago

<model>:MoveTo(location)

Answer this question