[LayaAir 2.0]CharacterController move移动 报错_setWalkDirection

laya.physics3D.js:1 Uncaught TypeError: Qt[a[((a[(A >> 2)] + 16) >> 2)]] is not a function
    at Object.btKinematicCharacterController_setWalkDirection (laya.physics3D.js:1)
    at CharacterController.move (laya.d3.js:4517)
    at MasterMoveRotate.onUpdate (bundle.js:1853)
    at Scene3D._updateScript (laya.d3.js:19967)
    at Scene3D._update (laya.d3.js:19896)
    at Stage.render (laya.core.js:17127)
    at Stage._loop (laya.core.js:17067)
    at loop (laya.core.js:10983)
 
添加后 CharacterController , 使用 move 移动就报错
this.masterSp.addComponent(Laya.CharacterController); //添加组件
 
this.character.move(new Laya.Vector3(0 , 0 , 1))//移动,开始报错
已邀请:

177*****593

赞同来自:

没加

180*****412

赞同来自:

没加colliderShape

要回复问题请先

商务合作
商务合作