I’ve never rigged anything and are struggling with this simple paper box.
I want to set up so i can close the lid and fold in the top and side flaps as well.
The closest i get now is just deforming the flaps
Just press PLAY to see it working. To enhance the display I have added a Solidify Modifier to the mesh so the “paper” has some thickness. I remade the mesh and the armature, use XYZ Euler rotation for the bones in this instance I think, and parented the mesh to the armature “With Empty Groups” then just assigned the flaps to their respective bones, there is no need to assign any vertices to the lid bone since the flaps bones are parented to it.
Hope this helps you and say hello the the “Vasa” for me next time you pass that way. I shall be in Stockholm and Sundsvall at the end of July/ early August.
Just found what is wrong - well one thing anyway - your flap bones do not inherit rotation from the lid bone - I think this is the major cause of your woes, along with incorrect vertex assignment.