Hi
I would like to consult you about a problem that I cannot solve.
width and depth will be fixed but height will be dynamic.
Height will come from two different positions.
I couldn’t make the logic, can you help me?
var sizeHeight = oneColumn.position.x + twoColumn.position.x
const box = BABYLON.MeshBuilder.CreateBox("", { height: sizeHeight , width: 3, depth: 0.25 });
box.position.x = oneColumn.position.x;
box.position.y = 1;
box.position.z = twoColumn.position.x;