I don’t know if the title is confusing, it’s a little hard to explain. So I made a model which is supposed to be an elevator, and I want to make it so when you step into the elevator, the door closes and the elevator goes up to the target location, and then the elevator door would open again. Letting the player out.
And my problem is that first you step into the elevator, the elevator door closes. But when the elevator starts moving, the door does not move with it.
Yes, you really just need to have the door Unanchored and have it welded to the door. I suggest using a plugin like RigEdit Lite to properly position the weld and then you can use the C0 property of that weld to tween it to open and close.
As the other user said, you can use Weld and WeldConstraint.
In your case, perhaps you should use WeldConstraint because you are manipulating the object that should “follow” the other.
I managed to weld it to the elevator, but when the door is unanchored it cannot be tweened to open and close, but it does move with the elevator. But if I make it so the door is anchored, it does tween but does not move with the elevator.
There are a few ways to do what you want, but I just remembered something. Have you ever used Motor6D? If you try Motor6D you won’t choose any other option. It’s simple, easy and it’s wonderful to use because it has a property similar to Attachments, independent of the parent’s position. (Similar to Position and WorldPosition)