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

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

11. 3D动态阴影 [ 82%]

...玩 2017-07-14 0 1 分享 微博 QZONE 微信 a43345 赞同来自: plane的MeshSprite3D 贴2D图是不能接收阴影的么? 照着官网教程来阴影出不来 2017-08-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xbgzs2010 相...

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

12. 2.0TS3D物体碰撞,如何获取双方包围盒 [ 82%]

...); let b1:Laya.BoundBox = this.box.meshRenderer.boundingBox; let box2:Laya.MeshSprite3D = other.owner as Laya.MeshSprite3D; let b2:Laya.BoundBox = box2.meshRenderer.boundingBox; }获取boundingBox的时候会报错。报错如下图所示。如何正确的获取双方包围盒。且2.0如何改变...

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

13. 针对3d对象添加碰撞.boundingBox为空是什么原因? 跟资源有关系么? [ 80%]

...撞.boundingBox为空是什么原因? 跟资源有关系么? 以下代码,meshSprite3D.meshFilter.sharedMesh对象能正常获取,meshSprite3D.meshFilter.sharedMesh.boundingBox为空 // //添加网格型碰撞器组件 var boxCollider: Laya.BoxCollider = meshSprite3D.addComponent(Laya.BoxCollider); ...

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

14. Laya.BlinnPhongMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? [ 75%]

...ngMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D;         box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false);         var material: Laya.Blin...

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

15. 如何获取模型的物理大小 [ 75%]

...的链接 提交 1 个回复 qian 赞同来自: 加载后完成后调用 MeshSprite3D.meshRender.boundingBox https://ask.layabox.com/question/6336     2018-01-27 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zwy363 相关问题 请问...

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

16. 3D中如何限制角色的行走区域? [ 72%]

...子父级节点寻找可行走区域网格模型               var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;               var texture:Texture2D = Loader.getRes("res/heightMap.png") as Texture2D;               //通过...

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

17. localRotationEulerY旋转位置错误 [ 71%]

... //平面         var plane = this.newScene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))) as Laya.MeshSprite3D;         var planeMat = new Laya.BlinnPhongMaterial();         Laya.Texture2D.load("res/grass.png", Laya.Handler.cre...

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

18. 为什么rotation、scale赋值了不管用? [ 69%]

...cale赋值了不管用? 我创建了一个Sprite3D: this.role3D = Laya.MeshSprite3D.load("3d/ben/Export.lh") this.role3D.transform.scale = new Laya.Vector3(0.5,0.5,0.5); this.role3D.transform.position = new Laya.Vector3(0,20,0); 以上的scale、position设置均不起作用,但是我放到fra...

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

19. 挂载物体的3D变换问题 [ 68%]

... var cylinderMesh:CylinderMesh=new CylinderMesh(0.05,2,8); var cylinder3D:MeshSprite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role....

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

20. MeshCollder 无法跟随父物体缩放 [ 63%]

MeshCollder 无法跟随父物体缩放 meshSprite3D.getChildAt(0).getComponent(Laya.PhysicsCollider).colliderShape.scale = new Laya.Vector3(3, 1, 3); 2019-05-21 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什...

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