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

Whats the best way to move a model?

Asked by
sydre 229 Moderation Voter
5 years ago
Edited 5 years ago

I'm making a game dev game where one of the thing the player can do is to purchase new computers. When the player have bought a computer the player can place it on their desc. Currently, the way I place the computer on the desc is to have a basepart in the computermodel wich i teleport to the desc and then teleport every other part relative to the basepart but this is a very long process so I'm wondering if theres any better way to move a model with multiple parts?

1 answer

Log in to vote
0
Answered by 5 years ago

You can make the computer a primary part and then just use the function SetPrimaryPartCFrame() to set the primary parts CFrame.

0
Thanks sydre 229 — 5y
Ad

Answer this question