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

大约有 278 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)

41. Laya 2.6 以上版本 修改带有刚体的Sprite3d localRotationEulerY 出现刚体位置错误 [ 80%]

Laya 2.6 以上版本 修改带有刚体的Sprite3d localRotationEulerY 出现刚体位置错误 改带有刚体的Sprite3d localRotationEulerY 出现刚体位置错误, 在Update 一直修改角度时 表现 刚体的位置来回拉扯; 附件 : --> PhysicsTest.zip 2020-09-22 添加评论 免...

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

42. sprite3d 调用destroy报错 [ 80%]

sprite3d 调用destroy报错 undefined preload.js:55 Error: "abort(26). Build with -s ASSERTIONS=1 for more info." laya.physics3D.js:308 at ta (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:308:124)   at dH (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:53:382...

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

43. 物理刚体(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 80%]

...script //新建一个球体模型并添加到舞台上 var sphere:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(1))) as Laya.MeshSprite3D; //新建一个球形的碰撞盒 var sphereShape:Laya.SphereColliderShape = new Laya.SphereColliderShape(1); //给球添加...

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

44. 物理刚体(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 80%]

...`typescript //新建一个球体模型并添加到舞台上 var sphere:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createSphere(1))) as MeshSprite3D; //新建一个球形的碰撞盒 var sphereShape:SphereColliderShape = new SphereColliderShape(1); //给球添加刚体 var sphereRig...

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

45. 2.6物理问题 [ 80%]

...; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getChildByName("Ball") as Sprite3D; this.b...

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

46. 角色控制器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

... export default class DirectMove extends Laya.Script { declare owner: Laya.Sprite3D; private characterController: Laya.CharacterController; onAwake(): void { // 获取 角色控制器 组件并赋值给 characterController this.characterController = this.owner.getComponent(Laya.CharacterController);...

来源: Laya3.0_文档 发布时间: 20251010

47. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 79%]

...-11 20:43 @源:那个,这样算是吧刚体和模型分开了吗。 Laya.Sprite3D.load("h5/LayaScene_car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car...

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

48. Unity导出的场景无法加载 [ 78%]

...    at PhysicsCollider.__proto._onAdded (libs/laya.d3.js:41745)     at Sprite3D.__proto._addComponentInstance (libs/laya.core.js:21498)     at Sprite3D.__proto.addComponent (libs/laya.core.js:21573)     at Function.Utils3D._createNodeByJson (libs/laya.d3.js:10690)     at Function.Utils3D._...

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

49. CharacterController碰撞怎么检测方向 [ 78%]

...大神指点在layaAir用js写碰撞测试怎么写 关于2d碰撞检测 sprite3D可以设置碰撞体吗 请问下设置group或者category能达到让两个互相能碰撞的物体不再碰撞的效果吗? 3d物理引擎有碰撞不触发onCollisionEnter 问题状态 最新活动: 2020-07-21 13:...

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

50. tilemap怎么检测碰撞呀?? [ 77%]

...ya2.2 导出场景物理碰撞问题 碰撞检测 和 sprite问题【js】 sprite3D可以设置碰撞体吗 Laya2.0 的3D射线检测能拿到触发模型在射线触发点上的法线吗 求大神指点在layaAir用js写碰撞测试怎么写 layaBox碰撞 将pivot设置为图片中心后,缩放...

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