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

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

51. [LayaAir3]laya3.3 beta3按ctrl+d 3d节点命名不会累增 [ 60%]

...节点脚本onDisable时删除子节点后子节点脚本onDisable取不到owner.scene Laya2下新建ts文件不会自动编译 Laya.Panel的子节点在(0,0)点有可能不显示的问题 laya idc 下能否给单个sprite节点指定动画 ide compile的时候不会启动一个本地服务器吗?...

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

52. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 60%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy get...

来源: Laya3.0_api 发布时间: 20231115

53. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 59%]

...x; lastPosition.y = touch.position.y; //根据移动的距离进行旋转 (owner as Sprite3D).transform.rotate(new Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ _text.text = "触控点为2"; isTwoTouch = true; //获取两个触碰点 var touch:Touch = _scen...

来源: Laya2.0_文档 发布时间: 20210715

54. 摄像机的viewportPointToRay报错 [ 59%]

...a); PanelMgr.mainCamera.viewportPointToRay(this.pointRay, this.ray); (this.owner as Laya.Scene3D).physicsSimulation.rayCast(this.ray,this.hitresult); console.log(Laya.MouseManager.instance.mouseX + " -=----------" + Laya.MouseManager.instance.mouseY); if (this.hitresult.succeeded) { console.log(this...

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

55. 在2.0里onTriggerEnter 的碰撞点坐标如何获得? [ 59%]

...: 与内容相关的链接 提交 1 个回复 苏栢 赞同来自: other.owner.contains[0] 把这个输出出来找找试试 具体是里面的那个我忘了 2019-07-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 btiger19 相关问...

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

56. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 59%]

...sition.y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._sce...

来源: Laya2.0_文档 发布时间: 20210715

57. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 59%]

...sition.y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._sce...

来源: Laya2.0_文档 发布时间: 20210715

58. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 59%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy get...

来源: Laya3.0_api 发布时间: 20231115

59. 获取不到父物体 节点 [ 59%]

...s game_mgr extends Laya.Script { constructor() { super(); console.log(this.owner); } } 附件 : --> 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 177*****521 赞同来自: 一找到原因, 不能在...

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

60. [LayaAir3]代码实例化有刚体或碰撞体的预制体时报错 [ 58%]

...理器而报错了,您可以试下将add到stage的子节点改为add到owner.scene的子节点,能够解决问题;除了这项修改之外,在3.3.x版本中我们统一设计为baseCollider + Shapes的方式实现物理组件,统一了2D物理/3D物理的设计理念,并且兼容之前...

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