Having a problem with my 3D manipulation program. Utilizing THREE.JS and attempting to adjust the scale of an object, apply these changes to the original matrix, then reset the scale values to 1.
Restoring the transformation is essential for UI functions that rely on this data. Essentially, I want the new size to act as the original size without any alterations.
Any ideas on achieving this? Did some research but no solutions have worked so far.
var scale = 0.5;
object.scale.set(scale, scale, scale);