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

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

41. 3D中摄像机绕物体旋转该如何实现? [ 28%]

...sform.position =new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = ...

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

42. 官方案例里摄像机绕物体旋转脚本的问题 [ 28%]

...sform.position =new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = ...

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

43. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 25%]

...tion; moveCamera.transform.rotate(this._rotation, true, false); moveCamera.addComponent(CameraMoveScript); //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCou...

来源: Laya3.0_文档 发布时间: 20230303