大约有 16 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0025 秒)
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
...9-26 14:48 浏览: 2750 关注: 3 人 NilZ • 2019-09-27 14:45 this.scene.physicsSimulation.rayCastAll(this._ray, this.outs);是在scene的physicsSimulation对象。可以看一下源码。 boom • 2019-06-26 16:43 是F9里面的physics3d 吗?那个我已经打开了
来源: Laya_社区 发布时间: 20190626
...tected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsSimulation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation Index Properties dt fixedTimeStep maxSubSteps disableSimulation Accessors continuousCollisi...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsSimulationProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsSimulationInheritancePhysicsSimulation Object Simulation 类用于创建物理模拟器。 Public Properties PropertyDefined By contin...
来源: Laya2.0_api 发布时间: 20190513
...d = new Laya.Scene3D(); let outHitInfoAll = new Laya.HitResult(); scene3d.physicsSimulation.rayCastAll(this.ray, outHitInfoAll, depth); 2018-12-19 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Max.魚魚魚鱼魚魚 相关问题 Laya.R...
来源: Laya_社区 发布时间: 20181219
...(radis), 0, Math.sin(radis))); let hitResult = new Array(); this.mainScene.physicsSimulation.rayCastAll(rays[i], hitResult); console.log(rays[i], hitResult); }我注意到2.0.0的时候有人提过这个问题,但是这个bug似乎还是没有得到解决 附件 : --> ray_test_h5.rar 2019-04-03 ...
来源: Laya_社区 发布时间: 20190403
...LayaAir3D中实现射线检测的核心是使用Scene3D场景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检...
来源: Laya2.0_文档 发布时间: 20210715
...LayaAir3D中实现射线检测的核心是使用Scene3D场景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检...
来源: Laya2.0_文档 发布时间: 20210715
...LayaAir3D中实现射线检测的核心是使用Scene3D场景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检...
来源: Laya2.0_文档 发布时间: 20210715
...代码如下: // ---------这部分代码会崩溃 scene.physicsSimulation.shapeCastAll(colliderShape, new Laya.Vector3(-10,0,0), new Laya.Vector3(10,0,0), hitResults); // ---------代码结束 // ---------这部分代码不会崩溃 ...
来源: Laya_社区 发布时间: 20200530