I am new to Blender.
Suppose I have a Bottom Mesh that is 10 metres deep (X) and 10 metres wide (Y), and a Top Mesh that is 5 metres deep and 5 metres wide. Each is created with a Cube Mesh Node.
I want the maximum value of each coordinate in the Top Mesh to be tied to the corresponding size of the Bottom Mesh. For example, if the Bottom Mesh is 10 metres deep, the Top Mesh should never be able to exceed 10 metres in depth. I could manually set the maximum to 10, but that would not be dynamic. If I later change the depth of the Bottom Mesh, the maximum value in the field would still stay at 10. I could also define it as a percentage of the Bottom Mesh, such as the Top Mesh always being 50 per cent of the Bottom Mesh, but that is not ideal, since I might want it to stay exactly 2 metres smaller than the Bottom Mesh, and absolute values are usually easier to work with.
How can I achieve this?
@EDIT: I don't mean it matematically. But how to actually do it in Blender.



