大约有 188 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
...加载ls文件,启动报错。具体看截图 看了一下源码,laya.physics3D 相关文件好几个,这几个分别是什么作用,另外为什么有些文件混淆了呢?看报错原因应该是laya.physics3d,没有初始化。该如何初始化,麻烦官方人员给予回复一下。...
来源: Laya_社区 发布时间: 20191128
...s._boll1.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():vo...
来源: Laya_社区 发布时间: 20190428
...urn NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.physics3D.js:308 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but...
来源: Laya_社区 发布时间: 20191108
...例子,如何销毁整个物理世界呢? for (var currentBody = laya.physics.Physics.I.world.GetBodyList(); currentBody; currentBody = currentBody.GetNext()) { Laya.Physics.I._removeBody(currentBody) }虽然已经通过此代码销毁了所有的物题,然后删除这个scenc的时候还是...
来源: Laya_社区 发布时间: 20200107
...mesh = sp3d.meshFilter.sharedMesh; rigidBody.colliderShape = shape; laya.physics3D.js:304 Uncaught TypeError: Cannot read property '__destroy__' of undefined at Object.destroy (laya.physics3D.js:304) at MeshColliderShape.<anonymous> (laya.d3.js:26828) at App.js:35 at ...
来源: Laya_社区 发布时间: 20180816
LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ 项目换了新库2.0.1之后,切换场景报异常 Cannot read property ‘_physicsUpdateList’of null 求指导~~ __proto._onDestroy=function(){ (this._inPhysicUpdateListIndex!==-1)&a...
来源: Laya_社区 发布时间: 20190318
...estroy报错 已上传附件 麻烦大大们帮忙看下 附件 : --> Laya2physics.zip 2018-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 先将附件里面的两个库文件替换...
来源: Laya_社区 发布时间: 20181207
... var p = manifold.points[0]; p.x *= Physics.PIXEL_RATIO; p.y *= Physics.PIXEL_RATIO; return manifold; }; 附件 : --> test2DPhysics.zip 2022-08-19 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20220819
CharacterController move移动 报错_setWalkDirection laya.physics3D.js:1 Uncaught TypeError: Qt[a[((a[(A >> 2)] + 16) >> 2)]] is not a function at Object.btKinematicCharacterController_setWalkDirection (laya.physics3D.js:1) at CharacterController.move (laya.d3.js:4517) ...
来源: Laya_社区 发布时间: 20201020
...设置了worldroot还是会错位, 哪里出问题了呢, 求解答 Laya.Physics.I.worldRoot = this.road; this.road.scrollRect = new Laya.Rectangle(0, 100, this.width, this.height); 2020-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20201011