Rigging a folding door

Hello, I hope everything is going well with you all.

I am having few issues with modeling / rigging a folding door since I have never done it before. What I want to achive is rig(?) that folding door and control its open/closed views. I will have quite many duplicates of the same door in my project, so it would be nice if I could decide which ones are open and which are not.

If you give me a hand how to do or even how to start I would be glad. Thanks in advance

FOLDINGDOOR.blend (1.7 MB)

Not hard with IK. Here’s a file:

FOLDINGDOOR1.blend (1.7 MB)

Notice that I transform locked some bones, and that I put the door into a slightly open position to make the IK work better.

1 Like

I just set up a folding door switch on my transit bus, as seen in this short demo:

https://youtu.be/9KqEze7b–8

Here are the instructions for setting up the four doors so they open and close the way you want by just rotating a single door.

  • Set the origins of each door to where you want them to swivel.

  • Apply rotation and scale to all objects.

  • Parent door 1 and door 4 to door frame.

  • Parent door 2 to door 1.

  • Parent door 3 to door 4.

  • Add limit rotation constraint to door 4, set z axis to max 90, toggle For Transform, set Space to Local Space.

  • Add copy rotation constraint to door 1, set Target to door 4, toggle all axes, set Invert on z axis, set Space to Local Space/Local Space.

  • Add copy rotation constraint to door 3, set Target to door 4, toggle all axes, set Invert on z axis, set Space to World Space/World Space.

  • Add copy rotation constraint to door 2, set Target to door 1, toggle all axes, set Invert on z axis, set Space to World Space/World Space.

Here’s a quick little video I put together toshow you the set-up:

https://youtu.be/QaPJr73C64U

At this point you can now operate all four doors by rotating just door 4 on the z axis.

1 Like

here is a tutorial about constraints, folding doors included. Very easy and practical:

3 Likes

One thing I overlooked in my instructions was that you can’t move the doors from their original axes with that set-up.

So I made this video just for you, to show how to do it so that you can rotate/move the entire door assembly any way you want and it will still work. Not much different but pay attention to the two added empties, the parenting, and the constraint’s Space settings (all of them should be Local Space).

https://youtu.be/W1ipKZLet-E

1 Like