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

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

181. 3D场景-地形场景 [ 58%]

...laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; pu...

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

182. 3D模型加载出错 [ 58%]

...ne.addChild(sp);             this.box.transform.rotate(new Laya.Vector3(30, 0, 0), false, false);         })); 附件 : --> 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 bpmf_d 赞同...

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

183. [LayaAir3]3d刚体物体使用transform移动无效 [ 58%]

...getChildByName("Cube")as Laya.Sprite3D; cube.transform.position = new Laya.Vector3(0, 5, 0);------------------------------------------ 有人回复了,只有运动学才能控制了现在···· 附件 : --> Bugtest.zip 2024-12-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

184. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 58%]

...        var twoMc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D;                         twoMc.transform.position = new Vector3(0.1, 0, 0.2);                         var transformUVTwo:TransformUV = ...

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

185. 实现个TypeScript版本的3d缓动,有那么难吗? [ 58%]

...现,支持Sprite3d的transform里的属性,具体请参照例子 支持Vector3和Vector4的缓动,具体实现请看例子 github链接: https://github.com/AILHC/LayaD3Tween 欢迎使用和提建议,给个star 么么哒~ 2019-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

186. 反馈个cannon引擎库的问题 [ 58%]

...Z); phy.colliderShape.localOffset.cloneTo(colliderShape.localOffset); Laya.Vector3.scale(colliderShape.localOffset, 0.5, colliderShape.localOffset);//这里还需要手动缩放这个偏移值才正常 2022-11-21 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好,感谢您的反馈,...

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

187. 怎么设置模型高度 [ 58%]

...ld(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; 我看了API MeshSprite3D和BoxMesh都没有...

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

188. Unity 3D 模型的中心点 [ 57%]

...(0,0,0)定位。   旋转代码:  var _rotateLeft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

189. Uncaught TypeError: Cannot read property 'props' of undefined [ 57%]

...dChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main();   laya2.0的3d尝试,新人,看不懂这是为啥,错误如下: laya....

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

190. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 57%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...

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