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

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

1. 射线检测-碰撞器混合 [ 100%]

...E_UP, this, drawCollider); } function onKeyDown(e) { if (e.keyCode == Laya.Keyboard.UP) this.layaMonkey.transform.translate(this._tempUnitX1); else if (e.keyCode == Laya.Keyboard.DOWN) this.layaMonkey.transform.translate(this._tempUnitX2); else if (e.keyCode == Laya.Keyboard.LEFT) this.layaMonkey.tr...

来源: Laya_示例 发布时间: 20260816

2. 前述问题this.sp3Role.transform.position无效 [ 66%]

...问题吗 var newPos:Laya.Vector3 = this.sp3Role.transform.position; if (KeyBoardManager.hasKeyDown(Keyboard.W)) { this.spRole.y -= 1; // newPos.y += 0.1; this.rotateRole(this.rotationW); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 this._camera.convertScreenCoordToOrthographicCoo...

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