1
var sourcePos=new THREE.Vector3(-5,0,0);
var targetPos=new THREE.Vector3(-5,2,0);
var direction=new THREE.Vector3().sub(targetPos,sourcePos);
var arrow=newTHREE.ArrowHelper(direction.clone().normalize(),sourcePos,direction.length(),0x00ff00);
scene.add(arrow);
在Point sourcePos和targetPos上我想給一個標籤像'A'和'B'。 如何在three.js中實現此目的?使用three.js在特定點寫入2d文本
飛機? – 2pha