2016-10-01 110 views

回答

1

它们现在默认为BufferGeometry。

您可以选择退出:<a-entity geometry="buffer: false">

还是老的数据转换之前也存储在this.geometry.metadata

+1

如果您只需要顶点,您也可以通过'geometry.attributes.position.array'从BufferGeometry获取它们。它将是一个平面数组,如'[x1,y1,z1,x2,y2,z2,...]'。 [实施例](https://github.com/donmccurdy/three-to-cannon/blob/master/index.js#L315-L324)。 –

相关问题