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

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

181. 反馈个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

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

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

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

183. 怎么设置模型高度 [ 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

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. Unity 3D 模型的中心点 [ 58%]

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

186. Uncaught TypeError: Cannot read property 'props' of undefined [ 58%]

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

187. laya 3D碰撞器与 Unity 不一致问题 [ 57%]

...== 0) {                 var physicPosition = PhysicsComponent._tempVector30;                 shapeOffset.x *= transform.getWorldLossyScale().x;                 shapeOffset.y *= transform.getWorldLossyScale().y;                 shapeOffset.z *= transform.getWorldLossyS...

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

188. 请问,在使用插件导出包含多个动画的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

189. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 56%]

...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...

来源: Laya3.0_文档 发布时间: 20230303

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

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