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

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

1. 2D物理-碰撞事件与传感器 [ 100%]

...circleCollider.radius = 20; sp.addComponent(MouseJoint); } ground.on(Event.TRIGGER_ENTER, this, this.onTriggerEnter); ground.on(Event.TRIGGER_EXIT, this, this.onTriggerExit); Laya.physicsTimer.frameLoop(1, this, this.onTriggerStay); } private function onTriggerEnter(colliderB: ColliderBase, collider...

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