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

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

561. timer无法执行 [ 65%]

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

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

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

563. laya.d3.core.material.PBRMaterial_API3.0 [ 65%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

来源: Laya3.0_api 发布时间: 20231115

564. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 65%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

来源: Laya3.0_api 发布时间: 20231102

565. 摄像机挂在主角身上,主角通过position移动,摄像机没有移动,如果主角通过translate来移动,摄像机才会移动 [ 65%]

...候是正常的,但是直接跑就有问题。 bing • 2017-06-13 17:17 Vector3.ZERO.cloneto(transform.position); 这种代码也移动不了。 需要用 transofrm.position = Vector3.ZERO; 才可以 183*****755 • 2017-06-14 23:06 楼上说的处理方法很正确,最终的计算结果需...

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

566. js中使用sharedMesh报错 [ 65%]

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

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

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

568. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 65%]

...Camera(0, 0.1, 1000))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); })); } } 2019-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

569. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 65%]

...ddChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya.Handler.create(null, function(tex) { //实例PBR材质 var...

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

570. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 64%]

...ddChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMat.enableReflection = true; //设置...

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