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

大约有 38 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0044 秒)

31. 如何击屏幕任何区域让模型运动到此处 [ 61%]

...不是要做一个和unity中移动物体一样?如果是话,先获取camera视锥远平面或者近平面,求与此平面平行过3D模型坐标平面A,接下来要做就是控制3D模型在平面A上移动。获取鼠标在平面A上通过射线碰撞获取3D坐标。...

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

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

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 ratio ratio: number = 1.5 Defined in laya/physics/joint/PulleyJoint.ts:27 [首次设置有效]两刚体移动距离比率 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdito...

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

33. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 54%]

...带碰撞信息b2Contact,开发者可以通过查询b2Contact对象来获取两个刚体碰撞有关详细信息。但是通常用不上,other和self中已存在常规需要信用,足够用了。(该参数只有2D物理有,3D物理只有other) */ onTriggerEnter(other: Laya.Physi...

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

34. viewportPointToRay产生射线始终有偏差,是为什么? [ 52%]

...PointToRay第一个参数传是在canvas坐标,Laya.stage.mouseX获取是在state坐标 所有你要Laya.stage.clientScaleX *Laya.stage.mouseX或者用Laya.MouseManager.instance.mouseX

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

35. laya.physics.joint.RevoluteJoint_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

36. laya.physics.joint.DistanceJoint_API3.0 [ 43%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

37. laya.physics.joint.WeldJoint_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

38. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 30%]

...s.maxRight = 0; //如果不开启autoSize 父容器宽度和高度无法获取 this.autoSize = true; //初始化时候将坐标放到屏幕右边 this.x = 852; //y坐标取一个随机值 为什么是32 因为我们整个素材是 32 * 20 拼起来 this.y = 32 * 6 + 32 * parseInt(8 * Mat...

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