Looking for a way to determine the dimensions of a mesh in three.js?
I have Collada (.dae) files and need to know their size in units (x,y,z). I've heard about using geometry.computeBoundingBox()
, but could use more guidance on how to implement it.
I'm also familiar with using scale
, but my main aim is to compare objects in the scene based on actual measurements (mm). Knowing the precise physical dimensions of an object will allow me to make adjustments if needed.
Any insights or advice would be greatly appreciated :^)