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

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

11. 鼠标交互-Hold [ 91%]

...Script三种开发语言、LayaAirIDE让项目开发更高效。const HOLD_TRIGGER_TIME = 1000, apePath = "res/apes/monkey2.png"; let isApeHold = false; class Interaction_Hold { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Han...

来源: Laya2.0_示例 发布时间: 20241001

12. box2d 的碰撞检测 [ 90%]

...sprite添加事件监听,监听 碰撞检测 事件  参看 Laya.Event.TRIGGER_ENTER等 2018-11-26 1 0 分享 微博 QZONE 微信 186*****590 赞同来自: 同求,现在最想知道的是相关的事件如何触发或检测。 2018-11-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

13. [LayaAir3]3.10.0 box2d wasm版本 trigger事件无法触发 [ 90%]

[LayaAir3]3.10.0 box2d wasm版本 trigger事件无法触发 box2d js版本 demo中成功触发日志 box2d wasm版本 无反馈 附件 : --> test.zip 2023-12-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 laya...

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

14. (有demo)3d运动学刚体旋转碰撞失效 [ 89%]

...件是工程代码,代码直接跑就能看到,运动学刚体设置isTrigger为true 的时候,碰撞信息在一些情况下就失效了。 附件 : --> test.zip 2021-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

15. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 83%]

...Collider ![Box Collider](./img/components/Inspector-BoxCollider.png) 1. Is Trigger 2. Center 3. Size - Sphere Collider ![Sphere Collider](./img/components/Inspector-SphereCollider.png) 1. Is Trigger 2. Center 3. Radius - Capsule Collider ![Capsule Collider](./img/components/Inspector-CapsuleCollider...

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

16. laya.events.Event_API3.0 [ 83%]

...N RIGHT_MOUSE_UP ROLL_OUT ROLL_OVER SELECT START STOPPED TRANSFORM_CHANGED TRIGGER_ENTER TRIGGER_EXIT TRIGGER_STAY UNDISPLAY VISIBILITY_CHANGE WILL_RESIZE staticMask Accessors altKey charCode ctrlKey key keyCode keyLocation metaKey shiftKey stageX stageY touches Methods setTo stopPropagation isMouse...

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

17. [LayaAir3]【LayaAir 3.1.0-beta.2】3D物理中Rigidbody3D组件触发器勾选无效BUG [ 80%]

...勾选无效BUG 从3.0.9升级到3.1.0-beta.2,原本的Rigidbody3D中 is Trigger勾选框无效了 无论是否勾选,都不能触发onTriggerEnter事件,但不勾选情况下onCollisionEnter事件有效 将编辑器降级回3.0.9,is Trigger勾选框又生效了 附件 : --> 2023-12-11 添...

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

18. 计时器-延迟调用 [ 78%]

...(this, onCallLater); } } function onCallLater() { console.log("onCallLater triggered"); var text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWr...

来源: Laya_示例 发布时间: 20241001

19. 计时器-延迟调用 [ 78%]

...ter); } } onCallLater() { const Text = Laya.Text; console.log("onCallLater triggered"); let text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWr...

来源: Laya2.0_示例 发布时间: 20241001

20. laya.events.Event [ 78%]

...: String = transformchanged[static] 世界矩阵更新时触发。Event  TRIGGER_ENTER : String = triggerenter[static] 物理碰撞开始Event  TRIGGER_EXIT : String = triggerexit[static] 物理碰撞结束Event  TRIGGER_STAY : String = triggerstay[static] 物理碰撞持续Event  UNDISPLAY ...

来源: Laya2.0_api 发布时间: 20190513