Currently, I am utilizing the dat.gui library with three.js to allow users to interact with an object and adjust the dimensions of its mesh. While many online examples use scale to modify mesh dimensions like this:
mesh.onChange(function(value){mesh.scale.x = value;});
This method may not be very intuitive for users as it also requires adjusting the object.position when a value is changed. Are there any other approaches that could be more user-friendly? If so, would someone be able to provide a viable alternative with a functional example? Thank you in advance for your insights.