
in blender how can I animate 2 rectangular planes sliding along each other while rotating so when they align perfectly the rectangle on top parents to the bottom forming a hinge pivot in the corner like in the image. Whenever I try doing so the two meshes just phase through each other only aligning at the end of the animation

