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

大约有 34 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0028 秒)

1. laya.physics.BoxCollider_API3.0 [ 100%]

...Protected All Inherited Externals Only exported Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked...

来源: Laya3.0_api 发布时间: 20231115

2. 2D物理-复合碰撞器 [ 99%]

... = box.addComponent(Laya.RigidBody); let box1Shape = box.addComponent(Laya.BoxCollider); let box2Shape = box.addComponent(Laya.BoxCollider); let box3Shape = box.addComponent(Laya.BoxCollider); let box4Shape = box.addComponent(Laya.BoxCollider); box1Shape.width = width + height * 2; box1Shape.height ...

来源: Laya2.0_示例 发布时间: 20251209

3. Uncaught Can not find class laya.physics.BoxCollider [ 97%]

Uncaught Can not find class laya.physics.BoxCollider 我发布web怎么就显示Uncaught Can not find class laya.physics.BoxCollider这了 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折...

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

4. 添加了MouseJoint没有效果 [ 96%]

...Part.pos(48*vw,10*vh); ropePart.width = 4*vw; ropePart.height = 10*vh; let boxCollider = new laya.physics.BoxCollider(); boxCollider.width = ropePart.width; boxCollider.height = ropePart.height; ropePart.addComponentIntance(boxCollider); ropePart.addComponent(laya.physics.RigidBody); // let revolute...

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

5. laya.d3.component.physics.BoxCollider [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class BoxColliderInheritanceBoxCollider Collider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Public ...

来源: laya_api 发布时间: 20170929

6. laya.physics.BoxCollider [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods Packagelaya.physicsClasspublic class BoxColliderInheritanceBoxCollider ColliderBase Component Object 2D矩形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Public...

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

7. 找不到Laya.BoxCollider这个类 [ 90%]

找不到Laya.BoxCollider这个类 参照另一个人的问题,他的解决方法是更新类库,但是我检查了我的类库已经是最新的1.7.13beta,还是提示没有这个类,在github里的js示例路径下也没有对应的文件,请问一下哪里能得到?? 2017-12-19 添...

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

8. 2D物理-碰撞过滤器 [ 89%]

...; import laya.display.Stage; import laya.events.Event; import laya.physics.BoxCollider; import laya.physics.ChainCollider; import laya.physics.CircleCollider; import laya.physics.joint.MouseJoint; import laya.physics.Physics; import laya.physics.PhysicsDebugDraw; import laya.physics.PolygonCollider;...

来源: Laya2.0_示例 发布时间: 20251209

9. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 87%]

....x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.createPanel(); } private createPanel():void { let...

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

10. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 87%]

....x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.createPanel(); } private createPanel():void { let...

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