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

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

1. 物理射线检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 100%]

...物体 scene.physicsSimulation.raycastAllFromTo(from, to, hitResults); //遍历射线检测的结果 for (i = 0, n = hitResults.length; i (图3) 不穿透的射线 ![](img/4.png)(图4) 穿透的射线 B类`rayCast`,`rayCastAll`方法使用,这段代码来自于官方示例。([demo地址](http...

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

2. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 99%]

...physicsSimulation.raycastAllFromTo(this.from, this.to, this.hitResults); //遍历射线检测的结果 for (i = 0, n = this.hitResults.length; i (图3) 不穿透的射线 ![](img/4.png)(图4) 穿透的射线 B类`rayCast`,`rayCastAll`方法使用,这段代码来自于官方示例。([demo地...

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

3. 物理射线检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 99%]

...physicsSimulation.raycastAllFromTo(this.from, this.to, this.hitResults); //遍历射线检测的结果 for (i = 0, n = this.hitResults.length; i (图3) 不穿透的射线 ![](img/4.png)(图4) 穿透的射线 B类`rayCast`,`rayCastAll`方法使用,这段代码来自于官方示例。([demo地...

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