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

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

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

...数。 ```typescript //加载模型 Laya.Sprite3D.load("Conventional/shoot.lh",Laya.Handler.create(this,function(sp:Laya.Sprite3D){ //获取到Meshsprite3d var cube = scene.addChild(sp.getChildAt(0)) as Laya.MeshSprite3D; //获取刚体 var cubeRigid:Laya.Rigidbody3D = cube.getComponent(Laya.Rig...

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

1012. 把摄像机添加到一个物体上,然后绕着这个物体旋转 [ 53%]

...朝向物体就行了 var map: Laya.Sprite3D = Laya.loader.getRes("cj/cj.lh"); this.scene.addChild(map); var cjd0: Laya.Sprite3D = new Laya.Sprite3D(); cjd0.addChild(this.camera); map.addChild(cjd0); cjd0.addComponent(CameraMoveScript); 可是,这样添加的脚本旋转,键盘就用不了,应该怎...

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

1013. layaide我不知道按了什么快捷键,菜单栏的文件选项没了 [ 53%]

...入的那些json文件是用什么软件生成的? .sk , .lm , .ltc , .lh, .ani等后缀名的文件是如何制作的? 问题状态 最新活动: 2018-07-18 10:37 浏览: 1498 关注: 2 人 131*****199 • 2018-07-18 11:49 问题是资源管理器左边都少了一截呀,资源管理器选项...

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

1014. 为什么laya2.0加载不了.lm文件? [ 53%]

...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined lh文件内meshSprite添加阴影属性无效 问题状态 最新活动: 2018-12-21 16:16 浏览: 1834 关注: 2 人 Laya_Aaron • 2018-12-21 16:16 var a:MeshSprite3D = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; ...

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

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

...参数。 ```typescript //加载模型 Sprite3D.load("Conventional/shoot.lh",Handler.create(this,function(sp:Sprite3D):void{ //获取到Meshsprite3d var cube:MeshSprite3D = scene.addChild(sp.getChildAt(0)) as MeshSprite3D; //获取刚体 var cubeRigid:Rigidbody3D = cube.getComponent(Rigidbody3D)...

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

1016. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 53%]

...机 //加载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来...

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

1017. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 53%]

...机 //加载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来...

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

1018. ts项目,微信小游戏3D, 加载3D模型,报错,pc端是正常的 [ 53%]

...常的   unity版本是Unity 2018.2.7f1 (64-bit)   通过工具导出的lh文件,电脑加载打开是正常的, 发布微信小游戏,在微信开发者工具里面,就报错了 __class(MiniAdpter,'laya.wx.mini.MiniAdpter'); MiniAdpter.getJson=function(data){ return JSON.parse(data); } ...

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

1019. TypeError: Cannot set property 'material' of undefined [ 53%]

...perty 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0));          var ma...

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

1020. 导出H5选择合并压缩选项无效,只合并了,代码却没变,注释也还在 [ 53%]

...ir3D UnityPlug 1.7.13 导出刚体动画无效 (此问题已经无效) lh文件内meshSprite添加阴影属性无效 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正...

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