How would I smoothly close Train Doors

How would I smoothly close train doors, since they are unanchored and are welded to another part.
My train is like this: There is a “Engine” which is anchored. All parts are welded to this Engine. The Engine is tweened, so all parts move with it.

Since the doors are welded to the engine, how would i go around smoothly closing the Train Doors,

1 Like

Or use constraints.

You won’t be able to move something welded without causing physics issues.

Remove the weld and try using PrismaticConstraints to connect them instead, which allow objects to only move along one axis, this can be used as a servo or motor.

I’m not sure if Tweening would work as intended, or at all, as it’s an unanchored object.

2 Likes