Tweening doors getting stuck?

Not sure if this is scripting support or building support, but is there a way I can stop them from getting stuck without making can collide false because that kinda defeats the purpose of having a key card door.

Watch the whole video I demonstrate it working if you have any doubts.

3 Likes

Maybe try moving them slightly apart? (Not enough to be noticeable) The doors are quite wide, so I could see why this is an issue. Or maybe have them swing in different directions or something.

1 Like

I think Collision Groups would be perfect for this situation. You can make them collide with other things, but they wont collide with each other.

3 Likes

I didn’t even know that existed thanks.

Kinda confused on how to use collision groups I have this but the baseplate went cancollide false

game.PhysicsService:CreateCollisionGroup("Door1")
game.PhysicsService:CreateCollisionGroup("Door2")
game.PhysicsService:CollisionGroupSetCollidable("Door1", "Door2", false)
game.PhysicsService:SetPartCollisionGroup(script.Parent.Door1, "Door1")
game.PhysicsService:SetPartCollisionGroup(script.Parent.Door2, "Door2")
1 Like

Anchored parts appear to be able to clip right through if you’re tweening that specific part. Anything welded on has a problem with how collisions are done. You could also add a collision part in the door and set that to CanCollide false when opened and the rest of the door is CanCollide false by default. That would prevent players from getting pushed around by the door for places like hallways where you get jammed behind.

1 Like

I had the same issue and I found the cause. Roblox Studio’s Auto Welding system makes Welds or WeldConstraits stuck by welding the door parts to colliding parts. And that’s why @bongusbingis’s fix works almost everytime. The fix for this is deleting the welds that Studio made on it’s own. If you want to get over it completely, just find a way to disable Auto Welding.

Talking about latest version of Studio

Make the weld link with an invisible part that has no collision that is a copy of the door frame. (Also the video is unavaiable)