Why does scale and setting geometry looks different?

var geom = new THREE.BoxBufferGeometry(4, 4, 4);
var mesh = new THREE.Mesh(geom, some_material);
mesh.scale.setScalar(1.25)

The result is a box of 5 x 5 x 5.
The size you want divide by the size you have thus you’ll get the desired scaling value.
You want 5, you have 4, then 5 / 4 = 1.25.

3 Likes