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

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

771. laya.d3.physics.shape.CompoundColliderShape [ 52%]

...erties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类...

来源: Laya2.0_api 发布时间: 20190513

772. 无法对载入的材质操作。sharedMaterials的length为0 [ 52%]

...可以直接设置光源的高光颜色directionLight.specularColor= new Vector3(0,0,0);但是我想只针对这3d模型设置高光,threeJS中有类似的设置); 但是 想要通过meshRender.sharedMaterials操作材质的时候,获取到的的length为0。 是不是我的api使用的不对?...

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

773. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 52%]

...[1-2](img/1-2.gif) (动图1-2) angulaVelocity属性的值是3维向量`Vector3`类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是**弧度/秒**。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。...

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

774. 用layaIDE编译和flashbuilder编译的main.max.js出现大小不同 [ 52%]

...main.max.js出现大小不同 确定项目只引用了 import laya.d3.math.Vector3 和 import laya.d3.math.Vector2 用IDE编译正常 用flashBuilder编译 会编译到d3 没有引用到相关的类..例如laya.d3.animation.AnimationClip laya.d3.animation.AnimationClipParser02 请问这个如何解...

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

775. TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function [ 52%]

...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor ide导出ui时,UI代码显示不正常在小游戏中会报错:gameThirdScriptErrorn.sort is not a function 问题状态 最新活动: 2020-02-03 09:52 浏览: 5265 关注: 2 人

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

776. 3D动画无法播放 [ 52%]

...here001.lm"))) as MeshSprite3D; shared.transform.localScale = new Vector3(0.3, 0.3, 0.3);             //获取角色动画组件             var ani:Animator=shared.getChildAt(0).getComponentByType(Animator) as Animator;             //监听默认动画...

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

777. 用u3d导出的粒子效果,不能移动粒子的位置 [ 52%]

...ffect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,不能移动粒子的位置 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

778. 3D两个平面拼接的贴图直接会有明显的接缝 [ 52%]

...D(1 , 1, 1, 1))) as Laya.MeshSprite3D; plane.transform.position = new Laya.Vector3(0,0,0); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/aaa.png"); material.diffuseTexture.mipmap = false; plane.meshRender.material = material;  ...

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

779. 2.6物理问题 [ 52%]

...(Rigidbody3D); this.rigid.overrideGravity = true; this.rigid.gravity = new Vector3(0,-0.3,0); this.rigid.restitution = 100; 附件 : --> Laya2.6__.rar 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 NilZ...

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

780. LookAt又出bug了,官方赶紧看看是不是代码合漏了 [ 52%]

...t(Laya.stage.getChildAt(0).getChildByName("B").transform.position,new Laya.Vector3(0,1,0),false,false)  指向错误   下面两句修正方向 Laya.stage.getChildAt(0).getChildByName("A").transform.rotation.invert(Laya.stage.getChildAt(0).getChildByName("A").transform.rotation) Laya.stage.getChil...

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