大约有 3 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0012 秒)
...物体 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
...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
...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