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

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

201. layaAir2.3克隆以及获取节点重大bug!!! [ 82%]

....Loader.getRes("res/my_res/guns_test.lh");          let a :Laya.Sprite3D = new Laya.Sprite3D();         a.addChild(guns_test.getChildAt(0).clone());         a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2;         a.transform.sc...

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

202. rigidBody.applyForce 物体不会移动 [ 82%]

...mera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya....

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

203. 多个UI3D出现点击位置不对 [ 82%]

多个UI3D出现点击位置不对 点击右边的Sprite3D(1),点击事件会跑到左边的Sprite3D去 但将右边的Sprite3D(1)的position的x值改为2.37622,则又正常了 附件 : --> LayaProject10.zip 2023-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

204. 自定义shader-简单shader [ 82%]

...dComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Qu...

来源: Laya_示例 发布时间: 20251130

205. laya.d3.graphics.StaticBatchManager [ 81%]

...StaticBatchManager 实例。 StaticBatchManager  combine(staticBatchRoot:Sprite3D, renderableSprite3Ds:Vector.<RenderableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Transform属性无效,根节点staticBatchRoot可为null,如果根节点不为null,根...

来源: Laya2.0_api 发布时间: 20190513

206. Laya3D,支持的IOS版本最低是多少? [ 81%]

Laya3D,支持的IOS版本最低是多少? 使用LAYA3D,到加载Sprite3D对象到场景上的时候,遇到个问题。在PC端浏览器可以正常打开正常渲染,但是在苹果手机上,ios9以下版本(测试用了ios8.3和8.4),只出现声音。画面卡主不动了。后来...

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

207. Unity导出的场景无法加载 [ 81%]

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

208. 用u3d导出的粒子效果,不能移动粒子的位置 [ 81%]

用u3d导出的粒子效果,不能移动粒子的位置 var particleSprite3D:Laya.Sprite3D = Laya.Sprite3D.load("res/LayaScene_effect/effect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,...

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

209. 加载到舞台的3D模型不显示贴图 [ 81%]

...载lh文件不显示的原因。 var staticMesh = scene.addChild(new Laya.Sprite3D()); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { var meshSprite = sprite.getChildAt(0);//此对象不一定是MeshSprite3D类型,会导致出错 var mesh = meshSprite.meshFilter.sharedMesh;...

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

210. 2.6.1物理bug [ 81%]

...; 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_社区 发布时间: 20200512