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

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

201. [LayaAir3]【Laya3.2.0】3D导航导航navAgent.getCurrentPath()接口报错 [ 54%]

...• 2024-06-28 10:11 就是官方3D寻路案例。集图是项目中Main脚本里面 木易楊 • 2024-09-20 10:20 demo已上传

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

202. laya.physics.ColliderBase_API3.0 [ 54%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defin...

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

203. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 54%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/components/Co...

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

204. laya.physics.joint.PulleyJoint_API3.0 [ 54%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0]...

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

205. 不受重力3d物理刚体,无法触发碰撞 [ 54%]

...时, 我发现你立方体还在下落,看了你代码,你在脚本里一直在transform.translate(new Laya.Vector3(0, -0.05, 0), true);  你通过transform.translate一个物体,怎么可能会触发物理碰撞? 2020-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

206. laya.physics.joint.MouseJoint_API3.0 [ 53%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节链接点,是相对于自身刚体左上角位置偏移,如果不设置,则根据鼠标点击点作为连...

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

207. 想通过节点1获取子节点2,为啥getChildByName获取不到,并且,节点1node._children属性打印出来是空数组 [ 53%]

...因为节点2是Graphics组件,所以无法直接设置var属性来在UI脚本里获取。。。)   附件 : --> 2019-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关链接 提交 0 个回复 为什么被折叠? 0 个回复被折...

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

208. laya.d3.component.hlod.HLOD_API3.0 [ 53%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

209. Windows扩展 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...插件”,如图3-1所示。 (图3-1) 然后在IDE中,创建一个脚本文件,命名为TestLib.ts,添加如下代码: interface ITestLib { nativeAdd(a: number, b: number): number; } export const testLib: ITestLib = Laya.importNative("LayaExt.dll"); 接着在组件脚本Main.ts中添...

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

210. [LayaAir3]Laya 2.x/3.x 演示项目中 Laya.timer.scale Laya.SpineSkeleton.playbackRate 对部分骨骼加速不生效 [ 53%]

...过设置maxDetlaTime来改变引擎默认值。 几种方式, 1、在脚本onUpdate里设置,代码示例如下:       onUpdate(): void {         this.spineAni.maxDetlaTime = Laya.timer.delta / 1000 * Laya.timer.scale;     } 这种方式准确,但不建议。 2、直接设置...

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