大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0023 秒)
...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...
来源: Laya3.0_文档 发布时间: 20230303
... 通过代码设置触发器的方式: /* ……省略若干代码 */ //获取物理刚体组件 this.rigidbody1 = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; this.rigidbody2 = this.cube2.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //设置rigidbody1为触发器,取消...
来源: Laya3.0_文档 发布时间: 20241014