[0]加载3D场景报错:TypeError: bt.btBvhTriangleMeshShape create is not a function
使用编辑器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 ... :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 ... 439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin ... 425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin ... 646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin ... 694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin ... 227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin ... 837:23)
at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39)
at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin ... 892:67)
==JSERROR:
http://10.251.141.146:8900/bin ... :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 ... 439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin ... 425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin ... 646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin ... 694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin ... 227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin ... 837:23)
at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39)
at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin/libs/laya.d3.js:31892:67)
社区里看到有篇类似的贴子: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,会不会是这些版本不对应导致出的问题呢?官方是否能解决一下,把这些版本统一对应起来呢?
alert=出错啦,请把此信息截图给研发商
TypeError: bt.btBvhTriangleMeshShape_create is not a function
http://10.251.141.146:8900/bin ... :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 ... 439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin ... 425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin ... 646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin ... 694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin ... 227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin ... 837:23)
at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39)
at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin ... 892:67)
==JSERROR:
http://10.251.141.146:8900/bin ... :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 ... 439:33)
at MeshColliderShape._setPhysicsMesh (http://10.251.141.146:8900/bin ... 425:23)
at PhysicsCollider.set colliderShape [as colliderShape] (http://10.251.141.146:8900/bin ... 646:44)
at PhysicsCollider._parseShape (http://10.251.141.146:8900/bin ... 694:33)
at PhysicsCollider._parse (http://10.251.141.146:8900/bin ... 227:15)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 825:32)
at Function._createComponentInstance (http://10.251.141.146:8900/bin ... 816:31)
at Function._createNodeByJson02 (http://10.251.141.146:8900/bin ... 837:23)
at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39)
at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin/libs/laya.d3.js:31892:67)
社区里看到有篇类似的贴子: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,会不会是这些版本不对应导致出的问题呢?官方是否能解决一下,把这些版本统一对应起来呢?
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
1689384320用户
赞同来自:
小高
赞同来自: