实例碰撞体报错,Cannot read property 'btSphereShape' of undefined

Uncaught TypeError: Cannot read property 'btSphereShape' of undefined
    at new SphereColliderShape (laya.d3.js:27198)
    at new GameUI (GameUI.js:30)
    at Function.ClassUtils.getInstance (laya.core.js:9634)
    at SceneLoader.create (laya.core.js:20746)
    at EventHandler.__proto.run (laya.core.js:1111)
    at SceneLoader.__proto.event (laya.core.js:882)
    at SceneLoader.__proto._checkNext (laya.core.js:15729)
    at SceneLoader.__proto.onOneLoadComplete (laya.core.js:15780)
    at EventHandler.__proto.runWith (laya.core.js:1125)
    at ResInfo.__proto.event (laya.core.js:882)
已邀请:

Laya_Aaron

赞同来自:

编辑模式按f9,然后类库里面给3d物理的库打上勾。

Luren_yi

赞同来自:

需要在编辑模式引入Physics3D的类库

Laya_Aaron

赞同来自:

问问题标上1.0 还是2.0 

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作