0
我有一個稱爲網格的網格。我這樣做:Three.js網格位置不會改變
mesh.position.set(50,50,10);
console.log(mesh.position);
console.log("z: " + mesh.position.x);
輸出:
THREE.Vector3
x=0
y=0
z=0
__proto__:Object
z: 10
這怎麼可能?
你有js錯誤嗎?你可以張貼小提琴嗎? –