大约有 713 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
...再触发 laya.3.0.9 打包QQ小游戏,rayCast发出的射线检测到的物体与点击的不一致,在浏览器和微信小游戏没有这种情况发生 求教: soundManager如何停止正在播放的背景音乐 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in pro...
来源: Laya_社区 发布时间: 20240110
...t/RevoluteJoint" RevoluteJoint Class RevoluteJoint 旋转关节强制两个物体共享一个锚点,两个物体相对旋转 Hierarchy JointBase RevoluteJoint Index Constructors constructor Properties _extra _singleton anchor collideConnected otherBody owner runInEditor scriptPath selfBody Accesso...
来源: Laya3.0_api 发布时间: 20231115
...的纯模型场景找到一个提高帧率的方法: 在unity里面设置物体的shader: 1. 先把render mode 设置成transparent 2. 再把render mode设置成 custom 3. 然后把depth write 设置成 on 通过以上修改,现在微信小游戏里纯模型的场景可以达到60 ...
来源: Laya_社区 发布时间: 20190921
...自身,还是优先检测其子对象 Z索引 Zindex 控制 2D 场景中物体或元素的渲染层级和堆叠顺序 堆叠根节点 当一个节点成为堆叠根节点后,它所有子节点的 zOrder 都是相对于它自己来计算的,而不是相对于整个场景的根节点,默认为...
来源: Laya3.0_文档 发布时间: 20251010
... 三、2D导航代理 导航代理是导航系统中用于控制角色或物体等寻路对象,在导航网格上移动和寻路的组件。它是寻路对象与导航系统交互的主要组件,负责处理寻路对象的移动、避障和路径规划。该组件是实现寻路对象在复杂...
来源: Laya3.0_文档 发布时间: 20251010
... WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Hierarchy JointBase WeldJoint Index Constructors constructor Properties _extra _singleton ancho...
来源: Laya3.0_api 发布时间: 20231115
...oint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Hierarchy JointBase DistanceJoint Index Constructors constructor Properties _extra _singleton collideConnected otherAnchor otherBody owner runInEditor scriptPath...
来源: Laya3.0_api 发布时间: 20231115
...PrismaticJoint Class PrismaticJoint 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath self...
来源: Laya3.0_api 发布时间: 20231115
...ed in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接的两个物体是否进行碰撞检测 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdit...
来源: Laya3.0_api 发布时间: 20231115
...ed in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接的两个物体是否进行碰撞检测 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdit...
来源: Laya3.0_api 发布时间: 20231115