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

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

101. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 37%]

...设置为0,否则会直接掉下去。 > > 需要受力而运动的刚体不要设置为静力学或者运动学类型,否则会导致无法通过力来使其运动起来。 ##### 第一步: ![img](img/22-3.png) (图22-3) 如图22-3所示,我们为一个叫box的节点添加了刚体和矩...

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

102. laya.d3.component.animator.Animator_API3.0 [ 35%]

...nts/Component.ts:297 每帧更新时执行,update之后执行,尽量不要这里大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Retu...

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

103. laya.physics.RigidBody_API3.0 [ 33%]

...nts/Component.ts:297 每帧更新时执行,update之后执行,尽量不要这里大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Retu...

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

104. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 31%]

...ends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ###### 添加物理脚本 只有为节点添加了我们自定义的脚本,我们...

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

105. laya.d3.core.trail.TrailRenderer_API3.0 [ 29%]

...nts/Component.ts:297 每帧更新时执行,update之后执行,尽量不要这里大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Retu...

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

106. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...his.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要这里大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.transform.position.vsub(this.cu...

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