I know how to rotate an entire model but I do not know how to move an entire model using CFrame.
game.Workspace.Elevator:SetPrimaryPartCFrame()
I know that is how do you do it, but I am not sure what goes in between the ()
I know how to rotate an entire model but I do not know how to move an entire model using CFrame.
game.Workspace.Elevator:SetPrimaryPartCFrame()
I know that is how do you do it, but I am not sure what goes in between the ()
You define the coordinates
Ex :
game.Workspace.Elevator:SetPrimaryPartCFrame(CFrame.new(-14, -0, -129.5))
Using CFrame.new
or
Try This if you want to use a repeat
for v = -8.5, 0, 0.5 do
model:SetPrimaryPartCFrame(CFrame.new(-14, v, -129.5))
wait(.1)
end
Read this as for each v from -8.5 to 0 by steps of 0.5 ....
Hope this helps
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
The CFrame