我想从蒙版移动顶点,但是由顶点创建的面被割开了,我希望它们保持在一起,模型是在Blender中创建的BufferGeometry。可能吗?我在做什么错了?
this.geometry.verticesNeedUpdate = true;
for (var i = 0; i < 5000; i++) {
this.geometry.attributes.position.setXYZ(i,
this.geometry.attributes.position.getX(i) + 10,
this.geometry.attributes.position.getY(i),
this.geometry.attributes.position.getZ(i));
}