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

大约有 41 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0021 秒)

41. rigidBody.applyForce 物体不会移动 [ 46%]

...nt, this._ray); //拿到射线碰撞的物体 this.scene.physicsSimulation.rayCast(this._ray, this._outHitResult); //如果碰撞到物体 if (this._outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "点击到了" + this._outHitResult.collider.owner.name; } } } 2020-09-17 添加...

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