使用编辑器2.13.1或2.13.2创建官方的3d demo项目,并在进入的场景中增加一个碰撞体,使用官方的测试app进入时,就无法进入了。并且界面上和控制台都有报错。
alert=出错啦,请把此信息截图给研发商
TypeError: bt.btBvhTriangleMeshShape_create is not a function
http://10.251.141.146:8900/bin/libs/laya.physics3D.js:439:
TypeError: bt.btBvhTriangleMeshShape_create is not a function
this._btShape = bt.btBvhTriangleMeshShape_create(this._physicMesh);
^^
TypeError: bt.btBvhTriangleMeshShape_create is not a function
at MeshColliderShape._createBvhTriangleCollider (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:1227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin/libs/laya.d3.js:30825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin/libs/laya.d3.js:30816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin/libs/laya.d3.js:30837:23)
at Function._parseScene (http://10.251.141.146:8900/bin/libs/laya.d3.js:30868:39)
at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin/libs/laya.d3.js:31892:67)
==JSERROR:
http://10.251.141.146:8900/bin/libs/laya.physics3D.js:439:
TypeError: bt.btBvhTriangleMeshShape_create is not a function
this._btShape = bt.btBvhTriangleMeshShape_create(this._physicMesh);
^^
TypeError: bt.btBvhTriangleMeshShape_create is not a function
at MeshColliderShape._createBvhTriangleCollider (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin/libs/laya.physics3D.js:1227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin/libs/laya.d3.js:30825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin/libs/laya.d3.js:30816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin/libs/laya.d3.js:30837:23)
at Function._parseScene (http://10.251.141.146:8900/bin/libs/laya.d3.js:30868:39)
at _onHierarchyInnerFirstLevResouLoaded ([url]http://10.251.141.146:8900/bin/libs/laya.d3.js:31892:67)[/url]
社区里看到有篇类似的贴子:
http://ask.layabox.com/question/51120有人回复说2.13.2版本已修復,但我用2.13.2版本的ide测试过,还是不行,并且发现,2.13.2版本的编辑器内置的是2.13.2beta版本的js,官方测试app使用的是2.13.1版本的native,会不会是这些版本不对应导致出的问题呢?官方是否能解决一下,把这些版本统一对应起来呢?
附件:
test.zip