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

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

1. physicsSimulation.rayCast在新版本里选取不准确 [ 100%]

physicsSimulation.rayCast在新版本里选取不准确 在2.8.0版本里raycast是准确的,把类库升级到最新的2.12.2以后,可以选中但是不准确了,有偏移,目前无奈只能回退到2.8.0版本 let touchPoint:Laya.Vector3 = new Laya.Vector3();          let s...

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

2. 2.0如何射线检测 [ 91%]

...射线检测函数rayCast之前是Laya.Physics.rayCast现在已经是Laya.PhysicsSimulation的成员函数,已经不是静态函数了,但是 new Laya.PhysicsSimulation(new Laya.PhysicsSettings());会报错,请问如何射线检测? 附件 : --> 2019-05-05 添加评论 免费帖 --> 分享 ...

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

3. laya.d3.physics.PhysicsSimulation_API3.0 [ 91%]

...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

4. laya.d3.physics.PhysicsSimulation [ 87%]

...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

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

...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

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

...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

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

...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

8. 用raycast选取实体,hitresult始终是false [ 81%]

...范例,Laya.Physics.raycast方法已经不能用了;   从网上找了physicsSimulation.raycast方法,但无论如何,outHitResult的结果都是false,不知道哪里设置不正确   另外,射线的位置和方向也很奇怪,好像并没有穿过viewport中鼠标点击的位置,...

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

9. 3D物理在帧频较低的情况下raycast检测不到 [ 80%]

...aycast不到结果的情况,不知道是不是bullet的内部的bug,改PhysicsSimulation的maxSubSteps和fixedTimeStep都没什么效果 2019-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被...

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

10. this.scene.physicsSimulation.rayCastAll 报错 [ 78%]

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