• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0015 秒)

1. 寻路导航示例中添加Laya.PathFind组件报异常 [ 100%]

...e添加PathFind组件 var pathFingding: Laya.PathFind = this.terrainSprite.addComponent(Laya.PathFind) as Laya.PathFind; pathFingding.setting = { allowDiagonal: true, dontCrossCorners: false, heuristic: PathFinding.core.Heuristic.manhattan, weight: 1 }; var aStarMap: Laya.Texture2D = Laya.Loader.get...

来源: Laya_社区 发布时间: 20180309

2. Cannot read property '_physicsUpdateList' of null 错误 [ 81%]

...ad property '_physicsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了   Uncaught TypeError: Cannot read property '_physicsUpdateList' of null     at PhysicsCollider.__proto._onDestroy (...

来源: Laya_社区 发布时间: 20190415

3. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 64%]

...etSprite3D(pBull, "bull/areas/attack_rush/1") let pListener = pBullHitArea.addComponent(CollisionListener); //添加监听 onTriggerEnter 的逻辑 pListener.init(this, CollisionListener.func_onTriggerEnter, "onTriggerEnter"); let tPosEnemy = new Laya.Vector3(); Util3d.v3Copy(tPosEnemy, tPosBull.tra...

来源: Laya_社区 发布时间: 20200720