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

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

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

...liderShape = new Laya.CompoundColliderShape();             this.cube.transform.localPosition = new Laya.Vector3();         }         let pos = this.cubeP.transform.position;         pos.z += dis;         this.cubeP.transform.position = pos;         if(this.cube.transform.lo...

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

72. Resources already exist,is repeated loading 加载特效报重复加载 [ 82%]

...exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotate:Laya.Vector3 = ne...

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

73. Laya.Tween怎么运用到3D对象上? [ 82%]

...不清楚, 让人以为从字面上看set是一个属性,或者更改transform。我设置了都不行。 结果看示例,在很不起眼的地方发现一个loop函数一直在修改定位才能用Tween...   2017-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

74. 以前用lm文件加载模型。现在用lh文件加载模型无法贴图 [ 81%]

...oolsdaochu/denglongyu.jpg"); fish.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3(0,0.5,0); // fish.transform.position = new Laya.Vector3(0.4,0.5,-0.35); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0...

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

75. 评论功能没用的吗? [ 80%]

...nce(Laya.Event.HIERARCHY_LOADED, null, function (sprite) {       sprite.transform.positionnew Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微博 QZONE 微信 cuixueying 赞同来自: 如果长时间无人回...

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

76. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 80%]

# LayaAir3D中的Transform变换 ​ 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...

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

77. [LayaAir3]关于laya更新到3.1出现射线检测不到的情况 [ 80%]

...返回的d的数据         var startPoi=new Laya.Vector3(this.Bullet.transform.position.x,this.Bullet.transform.position.y,this.Bullet.transform.position.z-0.5);//起始点         var dir = new Laya.Vector3(0,0,-1);//方向         var ray:Laya.Ray = new Laya.Ray(startPoi,dir);//创建...

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

78. 正交摄像机裁剪问题 [ 80%]

...响。 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clear...

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

79. 动态阴影被切割了?为啥没有显示完成的阴影 [ 80%]

... var instance = new Laya.MeshSprite3D(new Laya.BoxMesh(x, y, z)); instance.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); instance.transform.position = new Laya.Vector3(posX, posY, posZ); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load(textureUrl...

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

80. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 80%]

# LayaAir3D中的Transform变换 ​ 在前面讲过了LayaAir3D中的坐标系和几个基础数学工具,在示例代码中,transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的...

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