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

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

1. 2D物理-桥 [ 100%]

...elocityY * 3 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("单击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = ...

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

2. 2D物理-碰撞过滤器 [ 78%]

...useJoint: MouseJoint = this.curTarget.getComponent(MouseJoint); mouseJoint.destroy(); this.curTarget = null; } dispose() { Laya.stage.off(Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.off(Event.MOUSE_UP, this, this.mouseUp); Laya.stage.off(Event.MOUSE_OUT, this, this.mouseUp); Laya.stage.off(E...

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

3. 2D物理-仿生机器人 [ 64%]

...elocityY * 5 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("双击屏幕,仿生机器人向相反方向运动\n单击产生新的小球刚体")); label.top = 20; label.right = 20; label.fontSize = 1...

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