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

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

461. 求助 Uncaught SyntaxError: Unexpected identifier [ 45%]

...Camera; camera.transform.position = new Vector3(0, 3, 3); camera.transform.rotate(new Vector3( -45, 0, 0), true, false); camera.addComponent(CameraMoveScript); // 生成平面,其实是一个box,只不过高度很小,可看成一个平面 var plane = scene.addChild(new MeshSprite3D(new BoxMesh...

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

462. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 44%]

...aya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { materi...

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

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

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

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

464. discard property,please use transform's property instead [ 44%]

...sform.translate(new Laya.Vector3(0, 1.5, 4));         camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);         camera.addComponent(CameraMoveScript);         //方向光         var directionLight = scene.addChild(new Laya.DirectionLight());         directionLig...

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

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

...述也太少了吧。 有刚体的情况isKinematic=true就可以直接改rotation了 或者用力的情况applyTorque也可以啊 2019-01-11 0 0 分享 微博 QZONE 微信 叶子 赞同来自: 。。抱歉。有点着急,没说好。 就是人物在空中的时候需要进行旋转,如果设置...

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

466. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 44%]

...); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var directionLight = new Laya.DirectionLight(); this.scene.addChild(directionLight); //设置灯光方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new L...

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

467. unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 [ 43%]

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

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

468. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 43%]

...相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移...

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

469. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 43%]

...相对旋转,相对位移,以及缩放。 this.pangzi.transform.localRotation = this._rotation; this.pangzi.transform.localPosition = this._position; this.pangzi.transform.localScale = this._scale; ``` 点击事件中的部分挂点的移除代码: ```typescript //将role从龙2的节点上移...

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

470. 粒子属性详解(TypeScript-3D基础(TS)-LayaAir3D之粒子系统) [ 43%]

...Random Between two Constant* 随机在最大最小数中取常数 8. `StartRotation` 开始旋转 1. *Constant* 常数 9. `3DRotaion` 3D 旋转参数 1. *Constant* 常数 2. *Random Between two Constant* 随机在最大最小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartCol...

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