Animating Multiple Parts to create a bay door

I would like to animate it, to actually open.

Will this door open up in a 2 way fashion?

Uhm, what do you mean by that? :slight_smile:

1 Like

You can animate it, but I mean, do you want it like, barn doors, or collapsible doors (classroom dividers where the big panels fold onto one another).

2 Likes

Ok so, this is a folding door, as in the sides need to fold into each other creating a nice and compact double door.

On the image you can see, in black the center where the door splits, and the arrows point in each direction of where the door needs to open.

Simple tweening would not work as its a door, every part needs to follow each other.

Oh, sorry I didn’t think of that.

Don’t worry, thanks for your input tho! :slight_smile:

What I would suggest in that case is to physically animate the part, then to play this animation with an AnimationController with the help of Motor6Ds… That are using some advanced math to calculate the offset and angle of which to tween each parts physical CFrame property.

Alright, thanks for your help, this is going to be a first as i have never used animation controllers.

1 Like

i think the easiest solution would be to weld all the parts together.

the next step is to put an attachment on a doorframe just past the outermost part of the door (end of pink arrows), and another attachment on the innermost part (on both sides of the purple line).

then, you connect either a spring or torsion spring to the attachments. once you give the signal, you shorten the constrain until the door opens, and lengthen it to close it.

pretty neat if you ask me. i don’t think constraints get the attention they deserve.

you won’t have to do animating or anything, which personally i don’t even know how to do myself. i think this is a much more practical solution.

:moyai:

this meme was made by motor6D and animation hate gang

2 Likes

You used a hinge and spring constraint right? :skull:

that was the entire point of the post

Was asking to make sure because it looks like a really good method and i support the anti motor6d and animation propaganda lol.

might develop this concept further and make a few topics to further spread propaganda

there could be even more applications, already have a few in mind

1 Like

So you used hinges and placed them on either side of the parts?

essentially yes. i would tilt each part by -20 and 20 degrees. on the trailing edge of the part, i would place an attachment. on the leading edge, i would place another attachment but also create a hinge attachment. i would repeat this process for all parts and line them up. the first part would be rotated 90 degrees and anchored so the springs pull the doors towards it.

Thank you for your help bro, amazing work!