大约有 38 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0044 秒)
...不是要做一个和unity中移动物体一样的?如果是的话,先获取camera的视锥远平面或者近平面,求与此平面平行的过3D模型坐标的平面A,接下来要做的就是控制3D模型在平面A上移动。获取鼠标在平面A上通过射线碰撞获取的3D坐标。...
来源: Laya_社区 发布时间: 20170904
... 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
...带的碰撞信息b2Contact,开发者可以通过查询b2Contact对象来获取两个刚体碰撞有关的详细信息。但是通常用不上,other和self中已存在常规需要的信用,足够用了。(该参数只有2D物理有,3D物理只有other) */ onTriggerEnter(other: Laya.Physi...
来源: Laya3.0_文档 发布时间: 20240528
...PointToRay的第一个参数传的是在canvas的坐标,Laya.stage.mouseX获取的是在state的坐标 所有你要Laya.stage.clientScaleX *Laya.stage.mouseX或者用Laya.MouseManager.instance.mouseX
来源: Laya_社区 发布时间: 20180201
... 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
... 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
... 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
...s.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = 852; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = 32 * 6 + 32 * parseInt(8 * Mat...
来源: Laya_社区 发布时间: 20160801