大约有 4 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0015 秒)
this.scene.physicsSimulation.rayCastAll 报错 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point,this.ray); /// Laya.PhysicsSimulation.rayCast(this.ray, this.outHitResult, 30, 0) //拿到...
来源: Laya_社区 发布时间: 20190523
...386 关注: 2 人 努力 • 2019-05-23 11:15 报错 Cannot read property 'rayCastAll' of undefined
来源: Laya_社区 发布时间: 20181220
... = 0; ray.origin.z = 0; handCamera.viewportPointToRay(point, ray); Physics.rayCastAll(ray, outHitAllInfo); var hit:RaycastHit = outHitAllInfo[0]; 一直无法获得正确的点击对象,后来发现获得了多个碰撞对象,其中第一个是一个parent为null的sprite3D对象 2017-10-17 添...
来源: Laya_社区 发布时间: 20171017
...,报了一个Cannot set property 'length' of undefined的错,是说我rayCastAll方法获得射线物体的length找不到是为什么诶 Laya_Aaron • 2018-07-13 11:35 调试跟踪一下看看射线碰撞到的对象是什么,然后看这个对象属性是什么样子 吴杨俊文 • 2018-0...
来源: Laya_社区 发布时间: 20180712