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

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

161. unity导出动画如何使用 root motion node [ 62%]

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

162. 为unity导出的场景种的模型添加碰撞器失败 [ 62%]

...1); this.myCar = this.scene1.getChildByName("myCar"); var scale = new Laya.Vector3(2, 2, 2); this.myCar.transform.localScale = scale; let a = this.myCar.addComponent(Laya.PhysicsCollider); }报错如附件中图片。 附件 : --> 2019-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

163. timer无法执行 [ 62%]

...ere(1)); this.scene1.addChild(ball);   ball.transform.position = new Laya.Vector3((Math.random() - 0.5) * 2, 10, 17); //添加刚体   ball.addComponent(Laya.PhysicsCollider); let ballrigid: Laya.Rigidbody3D = ball.addComponent(Laya.Rigidbody3D); ballrigid.colliderShape = new Laya.SphereColliderSh...

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

164. 3D模型x方向角度不为0,时。挂刚体和碰撞器。在rotate y方向时。模型会乱转,不挂就没问题 [ 62%]

...le = this.owner.transform.rotationEuler.y; this.owner.transform.rotate(new Vector3(0, angle - this.lastAngle, 0), false, false) 打印出来看到y方向角度一直在变。   如果直接赋值到rotationEuler就没问题 // this.owner.transform.rotationEuler = new Vector3(-90, angle, 0); 附件 ...

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

165. js中使用sharedMesh报错 [ 61%]

...e/1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); warehouseCollider1.mesh = war...

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

166. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 61%]

...ody.overrideGravity = true;             rigidbody.gravity = new Laya.Vector3();             rigidbody.isTrigger = true;             rigidbody.isKinematic = false;             rigidbody.colliderShape = new Laya.CompoundColliderShape();             this.cube.transform.loc...

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

167. 资源导出出错,怎么解 [ 61%]

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

168. 这计算是什么情况? [ 60%]

...JS计算公式! 3D如何计算反射线的向量? 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 斜矩形怎么计算碰撞 Laya的DrawCall计算方式是不是有误? 怎么计算两个点之间的...

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

169. 导出角色报错,求看下什么问题 [ 60%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)”   附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了)   补充: U...

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

170. Laya3D,支持的IOS版本最低是多少? [ 60%]

...ddChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); var mc:Sprite3D = scene.addChild(Sprite3D.load("res/mod5_13.lh")) as Sprite3D; c416288806 • 2018-03-05 11:41 有看到回复的...

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