-1

# How can I make a sliding door?

Some developers use "Sliding Doors". Bad problem is, how to design the door to slide. and how to script it. Need more information. Here is some more Sliding door is simple thing, but I am having trouble making a sliding door, Like i said earlier how to design the door to slide. and how to script it.

1

Sliding Doors can be fun, and hard to make.

The best solution is to use a Body Position object, because it makes the transition smooth and fluid. You can put the object in one part, and then weld the other parts of the door to that part.

Another solution is to use CFrame to manipulate the part. You can read up on that method here.

0
nate890 495
7 years ago

What you're looking for is something like this,

for i = 1, 100 do
door.CFrame = door.CFrame + Vector3.new(0.1, 0, 0)
wait()
end


Check out this post.