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

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

241. [BUG]刚体约束问题,移动后约束混乱! [ 72%]

...ya.PrimitiveMesh.createPlane(40, 40, 40, 40)));     plane.transform.position = new Laya.Vector3(0, -2.0, 0);     var planeMat = new Laya.BlinnPhongMaterial();     Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {      ...

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

242. [LayaAirIDE3]3.3.0.beta.1 2d碰撞触发问题 [ 72%]

...ent.TRIGGER_ENTER 和 Laya.Event.TRIGGER_EXIT 的监听,通过修改a的position使其与b进行接触,以实现触发触发器监听,在3.2.2中时是可以触发的,在3.3.0.beta.1中不可以。   附件 : --> 2025-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

243. Laya里显示时 子对象 位置错误 [ 72%]

...时  还没把子对象加到父对象里   这时候赋值子对象localPositionposition  就会出问题  就是localPositionposition相互覆盖 解决方法是修改原代码:1初始化子对象 2把子对象加到父对象里  3子对象赋值 2018-05-18 0 0 分享 微博 QZONE 微...

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

244. rigidBody.applyForce 物体不会移动 [ 72%]

...//新增怪物 this.RandomMonster_x(); this.RandomMonster_z(); var monster_position_x = this.monster_init_x; var monster_position_z = this.monster_init_z; var Monster: Laya.Sprite3D = scene.getChildByName( "Monster1" ) as Laya.Sprite3D; scene.addChild(Monster); Monster.transform.translate( new Laya....

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

245. laya.d3.graphics.VertexElementUsage [ 72%]

... VertexElementUsage  POINTSIZE0 : int = 10[static] VertexElementUsage  POSITION0 : int = 0[static] VertexElementUsage  RADIAN0 : int = 29[static] VertexElementUsage  RADIUS0 : int = 28[static] VertexElementUsage  RANDOM0 : int = 34[static] VertexElementUsage  RANDOM1 : int = 35[static] V...

来源: laya_api 发布时间: 20170929

246. 如何将Tween缓动应用与3D物体 [ 72%]

...782537460327), new Laya.Vector3(0,0,0)); Laya.Tween.to(clownFish.transform.position, { x: 1.3288445472717285, y: 0.9997662901878357, z: -3.575782537460327, }, 2000) 2019-02-15 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以只改数据,然后刷新3d物体,或者在社区里找有...

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

247. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...mera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 ...

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

248. 请问怎么把多个模型合并在一个组里面 [ 72%]

...dChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box0.transform.position=new Laya.Vector3(1,0,0); var box1= scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box1.transform.position=new Laya.Vector3(-1,0,0); 建立了2快板,显示如下:  我建了box0和box1,就...

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

249. 同一类型光源互斥的问题报告 [ 72%]

....addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))); box.transform.position = new Laya.Vector3(0, 0.5, 0); var material = new Laya.StandardMaterial(); //降低反射率,加强反射贴图反射 material.albedo = new Laya.Vector4(0.8, 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.l...

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

250. laya.d3.core.Transform3D [ 72%]

...orm3D  localMatrix : Matrix4x4 获取局部矩阵。 Transform3D  localPosition : Vector3 获取局部位置。 Transform3D  localRotation : Quaternion 获取局部旋转。 Transform3D  localRotationEuler : Vector3 获取局部空间的旋转角度。 Transform3D  localScale : Vector3 获...

来源: laya_api 发布时间: 20170929