My goal is to create a box, manipulate one of its vertices through geometry operations, and then display it on the screen.
var anchor = new THREE.Vector3( 300, 300, 3 );
var cursor = new THREE.Vector3( 500, 550, 50 );
var box2 = new THREE.Box3( anchor, cursor );
var box2Helper = new THREE.Box3Helper( box2 );
box2Helper.geometry.vetices[0] = new THREE.Vector3( 20, 20, 20 );
box2Helper.geometry.verticesNeedUpdate = true;
scene.add( box2Helper );
The code functions properly even without those two geometry lines.
Is there a method in the geometry class to change the position of a specific vertex of the box?