Hello,
This is my first time posting on here.
I am trying to figure out how to extract the translation from the geometry1 object as shown in the example below. I apply the translation to the object and now want to extract the x,y,z back out of the object. Also would like to figure out the rotations for x,y,z after they have been set on an object.
In my situation the box is extruded or lathe geometry.
geometry1.rotateX()
geometry1.rotateY()
geometry1.rotateZ()
x = 10;
y = 20;
z = 30;
const geometry1 = await new THREE.BoxGeometry( 10, 10, 10 );
geometry1.translate (x,y,z);
console.log(geometry1.???????)
Thanks for any help.
-Mike