[]laya2.0版本支持MeshColliderShape吗

2.0测试版的MeshColliderShape是可以用吗,我这样添加之后报错
let sp3d = scene.getChildByName("GameObject").getChildByName("dimian_5");
let rigidBody = sp3d.addComponent(Laya.Rigidbody3D)
let shape = new Laya.MeshColliderShape()
shape.mesh = sp3d.meshFilter.sharedMesh;
rigidBody.colliderShape = shape; 
laya.physics3D.js:304 Uncaught TypeError: Cannot read property '__destroy__' of undefined
    at Object.destroy (laya.physics3D.js:304)
    at MeshColliderShape.<anonymous> (laya.d3.js:26828)
    at App.js:35
    at Handler.__proto.runWith (laya.core.js:1143)
    at ResInfo.onLoaded (laya.core.js:14787)
    at EventHandler.__proto.runWith (laya.core.js:1143)
    at ResInfo.__proto.event (laya.core.js:899)
    at LoaderManager.__proto._endLoad (laya.core.js:14971)
    at Loader.onLoaded (laya.core.js:14941)
    at EventHandler.__proto.runWith (laya.core.js:1143)
 
如果把报错的地方注释掉,下面这行报错 btGImpactMeshShape找不到
this._nativeShape=new physics3D.btGImpactMeshShape(triangleMesh)
 
全局搜了一下这个btGImpactMeshShape都没找到
已邀请:

一花一世界

赞同来自:

有2.0了吗!!!
哪能下载啊?给个网址呗

要回复问题请先

商务合作
商务合作