I am trying to make a sliding door for my office building entrance (like I was asking here). I have tried the methods that people suggested, but it is not working. I concluded that TweenCFrame
was the best method to do this, but there is one major problem with it. No matter how good I have it anchored or put in a frame, it finds a way to pop out. When a player touches it, the door pops out and goes on top of the player. This is super annoying, can anyone help?
Also, I do not want to use regular CFrame
, I want to use TweenCFrame
. If there is no way around this, I will just have to use CFrame
.
Well, chances are you have the property CanCollide
on. To solve this issue you have a few options:
Make it so that when it is tweening away, simply make the door CanCollide false
Or you could make a place so that the door can actually go in without being stuck in a part
If the tweening works it means your code works. This just deals with physics, just do 1 of the options above.
Hopefully, this helped. Best of luck to you!