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

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

1. MeshSprite3D在加了physicsColliderRigidbody3D后,调用destroy会报错 [ 100%]

MeshSprite3D在加了physicsColliderRigidbody3D后,调用destroy会报错 示例代码如下: this.capsule = new Laya.MeshSprite3D(new Laya.CapsuleMesh(0.5, 1)); var capsuleCollider:Laya.PhysicsCollider = this.capsule.addComponent(Laya.PhysicsCollider);//网格触发器 var capsuleShape:Laya...

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

2. 运动学刚体与物理学刚体的碰撞检测问题 [ 90%]

... 158*****723 • 2019-08-31 17:52 有这样一个bug,RigidBody Trigger和PhysicsCollider Trigger 碰撞触发调用PhysicsCollider Trigger的onTriggerEnter后,RigidBody Trigger必须与其他物体发生碰撞后才能再次重新PhysicsCollider Trigger碰撞调用onTriggerEnter,RigidBody Trig...

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

3. timer无法执行 [ 79%]

...ath.random() - 0.5) * 2, 10, 17); //添加刚体   ball.addComponent(Laya.PhysicsCollider); let ballrigid: Laya.Rigidbody3D = ball.addComponent(Laya.Rigidbody3D); ballrigid.colliderShape = new Laya.SphereColliderShape(1); ballrigid.friction = 1; ballrigid.mass = Math.random() * 200 + 100;//质量...

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

4. 2个Rigidbody3D并未接触,却触发onTriggerEnter [ 78%]

...放域?新建开放域项目直接发布报错? MeshSprite3D在加了physicsColliderRigidbody3D后,调用destroy会报错 问题状态 最新活动: 2021-03-09 11:57 浏览: 2711 关注: 1 人

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

5. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 70%]

...0, 100))) as MeshSprite3D; //给地板添加物理组件 var floorCollicar:PhysicsCollider = floor.addComponent(PhysicsCollider); // 添加collidershape floorCollicar.colliderShape = new BoxColliderShape(10,0,2000);   //加载精灵 Sprite3D.load("LayaScene_cu_demo/Conventional/Cu.lh", Handler.crea...

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

6. 2.6.1物理bug [ 70%]

... this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getChildByName("Ball") as Sprite3D; this.ball.addComponent(BallScr...

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

7. 2.6物理问题 [ 68%]

... this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getChildByName("Ball") as Sprite3D; this.ball.addComponent(BallScr...

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

8. 3D网格添加刚体后设置欧拉角出现位置错误 [ 68%]

...理碰撞器         let planeStaticCollider = plane.addComponent(Laya.PhysicsCollider);         //设置碰撞器         let planeShape = new Laya.BoxColliderShape(10, 0, 10);         planeStaticCollider.colliderShape = planeShape;         planeStaticCollider.friction = 2;   ...

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

9. 关于removeChildren、 destroy和destroyChildren的疑惑 [ 64%]

...,调用destroy,以前clone的对象也消失了 MeshSprite3D在加了physicsColliderRigidbody3D后,调用destroy会报错 关于图片不打包问题,并设置项目不打包输出目录,疑惑?????????????????????? 关于button的destroy不起作用的问题 怎么清理掉 Sprite3D 相关...

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

10. 怎么调用闭包函数? [ 64%]

...在createChildren里加上createView调用代码么? MeshSprite3D在加了physicsColliderRigidbody3D后,调用destroy会报错 加载UI页面之后,怎么调用UI页面的图片,给图片加点击事件 app中, 调用window.open(url), 报错 调用原生js 问题状态 最新活动: 2017-12...

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