Hi coding experts, I have been stuck with this problem and would appreciate your help.
Basically I want to import a 3D file and scale it in 1 axis using a slider input.
I have tried SceneLoader Append, Import Mesh and I just can’t seem to manipulate the imported mesh in anyway, scaling or position.
The sphere is just to check that everything else is working and the slider outputs ‘value’.
slider.onValueChangedObservable.add(function (value) {
sphere.scaling = unitVec.scale(value);
mesh.scaling.copyFromFloats(value,100,100);
sphere.position.x = value;
});
Playground Code:
https://www.babylonjs-playground.com/#I71LA9