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

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

1. 为什么Sprite3D.name 都是"" 呢? 那getChildByName还有什么用?? [ 100%]

为什么Sprite3D.name 都是"" 呢? 那getChildByName还有什么用?? 为什么Sprite3D.name 都是"" 呢? 那getChildByName还有什么用??   unity导出来 .ls 里sprite3D name不是空 [而且也不会有人把unity里gameObject名字去每个都改成""吧]     附件 : --> 2...

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

2. 高级应用-寻路导航 [ 92%]

...s")); //删除原始资源中包含默认相机 var camera = this.scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.removeSelf(); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); camera.sky = skyBox; ...

来源: Laya_示例 发布时间: 20241002

3. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 88%]

...3d Laya.stage.addChild(scene); //获取摄像机 var camera:Camera = scene.getChildByName("Main Camera") as Camera; //清除摄像机标记 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; direc...

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

4. 对象池3D问题 [ 87%]

...e(new Laya.Vector3(0,-Math.PI/2,0)) //漫反射贴图 var tietu=layaMonkey.getChildByName("denglongyu").getChildByName("denglongyu") var tietutu=tietu.skinnedMeshRender.sharedMaterial; tietutu.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg") var zombieAnimator = layaMonkey.get...

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

5. 2.6.1物理bug [ 85%]

... this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getCh...

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

6. 2.6物理问题 [ 84%]

... this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getCh...

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

7. 射线检测-碰撞器混合 [ 84%]

...tor3(8, 8, 8); this.layaMonkeyMeshSprite3D = this.layaMonkey.getChildAt(0).getChildByName("LayaMonkey"); //添加盒型碰撞器 var boxCollider = this.layaMonkeyMeshSprite3D.addComponent(Laya.BoxCollider); boxCollider.setFromBoundBox(this.layaMonkeyMeshSprite3D.meshFilter.sharedMesh.boundingBox); t...

来源: Laya_示例 发布时间: 20241002

8. rigidBody.applyForce 物体不会移动 [ 83%]

...(scene); //添加方向光 var directionlight: Laya.DirectionLight = scene.getChildByName( "Directional Light" ) as Laya.DirectionLight; this.directionlight = directionlight; //加入子層人物腳色到舞台 var littleGirl: Laya.Sprite3D = scene.getChildByName( "Girl" ) as Laya.Sprite3D; scene.ad...

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

9. sprite3D类型对象怎么检测碰撞? [ 81%]

...题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 使用getChildByName()无法得到子节点对象 laya2.2 导出场景物理碰撞问题 怎么讲layaAir里显示对象添加到matter.js里物理引擎世界里 怎么获取对象坐标 laya2.0 3d物理碰撞穿透问...

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

10. View可以addChild Sprite3D对象吗 [ 81%]

...yaAir里显示对象添加到matter.js里物理引擎世界里 使用getChildByName()无法得到子节点对象 3d显示对象克隆体超出舞台不再显示bug2.1.0.btea1 怎么获取对象坐标 如何识别此对象被destroy了? TrailSprite3DALIGNMENT_TRANSFORM_Z模式和...

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