How can we get world position of a vertex?

Extract the vertex from the position attribute and then use Object3D.localToWorld().

const geometry = object.geometry;
const positionAttribute = geometry.getAttribute( 'position' );

const vertex = new THREE.Vector3();
vertex.fromBufferAttribute( positionAttribute, index );

object.localToWorld( vertex );
5 Likes