186*****197 Uncaught TypeError: Laya.CylinderMesh is not a constructor。 创建圆柱体失败,按官网例子来的。 项目是直接使用的3D范例项目。
186*****197 找到问题了,引擎更新后文档和示例没更新。 新的方法是new Laya.PrimitiveMesh.create【加上对应体的名字】。如圆柱是:new Laya.PrimitiveMesh.create Cylinder()