To adjust the size of the downloaded object, you need to modify the scale property of the Object3D. Each dimension (X, Y, Z) can be scaled independently, allowing you to resize it accordingly. For example, you can reduce the size by half using the following code:
yourDownloadedObject.scale = new THREE.Vector3(0.5, 0.5, 0.5);
Alternatively, you can double its size by setting the scale like this:
yourDownloadedObject.scale = new THREE.Vector3(2, 2, 2);
If the sizes are significantly different, consider scaling based on their original dimensions before any modifications...
Retrieve the bounding box of the objects using the computeBoundingBox method from the Object3D.Geometry property. This will provide insight into their initial size and help with further adjustments.
Utilize Cross-multiplication techniques to accurately scale up or down based on the Geometry.boundingBox property for precise resizing.
It's advisable to work with properly resized models rather than manually adjusting them.