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

How to you move a model inside another model?

Asked by 10 years ago

There has been a question similar to this, but I would like to know how to do it with models. When I use to "Move" function on a model and try to make it go through it or partly inside of it, that's just not what it does. Can you please help? It would really help me with a special task.

1 answer

Log in to vote
0
Answered by
wazap 100
10 years ago
newPosition = Vector3.new(0,0,0)
model:TranslateBy(model:GetModelCFrame().p-newPosition)
Ad

Answer this question