Thanks for the quick reply.
So right now my hierarchy is:
root → beam1, beam2, lintel, door → handle.
I easily set the door’s rotation with a float parameter.
The lintel’s origin is on the floor at z=0, so setting its height according to a float parameter is easy as well.
Beam 1 is at 0,0,0, so no matter what it doesn’t move or changes its scale but the height (height changes according to the same float parameter to set the lintel’s height).
Beam 2 moves on the x axis according to a float parameter to set the width.
The problem is setting the scale on the x axis of the door and the lintel. As you can see in the screenshots, they don’t reach the other beam (the beam is at the right location).
The way I try to set the scale (for now) is taking the door width parameter and divide it by 90.
The reason I do it is because the width of the base door geometry I made is 90 cm and I’m setting the relative scale, so I want the base scale to be 1 and any change of the value to be relative to that. The thing is, that the meshes of the lintel/door doesn’t start from 0 on the x axis, so I tried to add the width of the beams to that calculation, but that didn’t work as well.

