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

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

161. 2.0.1beta的导入unity导出的场景出错 [ 74%]

...在unity里面LayaRun预览没有任何问题,也成功导出了Scene和Sprite3D。但是把这些放到项目bin文件夹下之后,对着文档进行更改之后,F5调试就报错了。 2019-03-18 0 0 分享 微博 QZONE 微信 由纪 赞同来自: 同样遇到这样的问题,请问该怎...

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

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

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

163. LayaAir3D UnityPlugin 的使用问题 [ 74%]

...ya3d运行加载时,控制台打印出undefined字样,添加在场景上的Sprite3D渲染不出来。 求赐教   补充~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unity里的资源项目并没有看到有出错的提示啊 补充~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...

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

164. 同一类型光源互斥的问题报告 [ 74%]

...ew Laya.Vector3(-1, -1, -1); light4.color = new Laya.Vector3(1, 1, 0); var sprite3D = scene.addChild(new Laya.Sprite3D()); //添加自定义模型 var box = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))); box.transform.position = new Laya.Vector3(0, 0.5, 0); var material = new L...

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

165. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 74%]

...TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15252) at EventHandler.__proto.runWith (laya.core.js:1127) at Loader.__proto.event (laya.core.js:883) at Loader.__proto.complete ...

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

166. 3D模型怎么删除?没回切换页面原来的模型都还在? [ 74%]

...his.scene); 3.新建模型,并且添加B页面的3D场景中 var map: Laya.Sprite3D = Laya.Sprite3D.load("cj/cj.lh"); this.scene.addChild(map);   4.切换页面 private playGame(): void { Laya.stage.removeChild(this.welcomePanel); this.gamePanel = new GamePanel();//不管是不是重新new的,模...

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

167. Laya截图3D场景相关模型,导致模型透视! [ 73%]

...thographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERARCHY_LOADED, this, function(){ this.eff1 = scene.addChild( Laya.Sprite3D.instantiate(this.effRes)); this.eff1.transform.position = new Laya.Vector3(0,0,50); this.eff1.tran...

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

168. 3D中如何获取模型的世界旋转角度,不是localRotationEuler,不是四元数,是在世界中x,y,z轴上的旋转角度 [ 73%]

...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: var a:Sprite3D = new Sprite3D();             a.transform.rotation; 2018-09-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 careylwq 相关问题 sprite旋...

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

169. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 73%]

...e = Laya.TextureCube.load("res/sky/skyCube.ltc"); camera.sky = skyBox; var sprite3D = scene.addChild(Laya.Sprite3D.load("cj03/LastHopeScene.lh")); //sprite3D.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scen...

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

170. as中BoxCollider引入了,但是运行的时候还是提示null [ 73%]

...信 bing8310124 赞同来自: 已解决! //仓库原型 var warehouse1:Sprite3D = scene.addChild(Sprite3D.load("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var wa...

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