Background: Object can be pivoted using their buffer geometries by using by applying
.translate() method. It is different than setting the position, meaning it doesn’t change the origin, and only offsets all vertices.
What if I want to know this translation? It is a good assumption to make (also as per experience) to get objects which are composed of multiple objects themselves all of which have the origin set to (0, 0, 0) but pivoted. This is all the more valid for multi-geometry objects fetched from 3D warehouses.
Question: How can I know the object translation vector?
Note: Answer on SO seems computationally intensive at the face of it. I am hoping there is a better solution. https://stackoverflow.com/questions/35611985/threejs-how-to-find-pivot-point