Being new to Three.js, I may not be approaching this in the most optimal way,
I start by creating geometry like this:
const geometry = new THREE.PlaneBufferGeometry(10,0);
Next, I apply a rotation:
geometry.applyMatrix( new THREE.Matrix4().makeRotationX( Math.PI * 0.5 ) );
Then, I create a Mesh from it:
const mesh = new THREE.Mesh( geometry, materialNormal);
I then perform various operations on the mesh to position it correctly, such as:
mesh.position.copy(v2(10,20);
mesh.position.z = 0.5*10
mesh.position.x -= 20
mesh.position.y -= 10
mesh.rotation.z = angle;
Now, what is the best approach to access the vertices of the mesh before and after its position is adjusted? It was surprising to learn that the vertices of a mesh are not inherently stored in three.js.
Any advice or code examples would be highly appreciated.