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

How to move large models smoothly? [closed]

Asked by 5 years ago

Hey, whats the best way to move a large model from one place to a other? I have tried Cframe but its not smooth and tweenservice but I can't get it to work.

Closed as Not Constructive by WideSteal321, EpicMetatableMoment, xPolarium, and Goulstem

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
-1
Answered by
ben0h555 417 Moderation Voter
5 years ago
Edited by Goulstem 5 years ago

There is a simple way to move a model smoothly.

Use Model:MoveTo(Position), like so:

Position = Vector3.new(10,10,10) --Set this to the end position
local model = Instance.new("Model", game.Workspace)

-- Im putting parts into the model
local part1 = Instance.new("Part")
part1.Size = Vector3.new(4, 4, 4)
part1.Position = startPosition
part1.Anchored = true
part1.BrickColor = BrickColor.new("Bright yellow")
part1.Parent = model

local part2 = Instance.new("Part")
part2.Size = Vector3.new(2, 2, 2)
part2.Position = startPosition + Vector3.new(0, 3, 0)
part2.Anchored = true
part2.BrickColor = BrickColor.new("Bright blue")
part2.Parent = model

-- I set the primary part
model.PrimaryPart = part1
model.Parent = game.Workspace
-- I move the model.
model:MoveTo(Position)
Be kind. ~Goulstem
0
Yes, so the problem with this is that it just tp's the model, I need to have it move to the location Alwaysrube 22 — 5y
0
Well for that you are going to need to something a bit advanced, you need to take a Cframe, and move it, then move the other part's Cframes based on position of the cframe, like 5 studs above and stuff like that. ben0h555 417 — 5y
Ad