大约有 21 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0029 秒)
请问laya的PhysicsCollider能不能有调试模式,像unity一样看到collider的线框 meshCollider有时准有时不准,想找找原因很困难:( 2020-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个...
来源: Laya_社区 发布时间: 20200613
销毁 new 出的带有 PhysicsCollider 的正方体模型报错 this.box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))) as Laya.MeshSprite3D; this.box.addComponent(Laya.PhysicsCollider); this.box.destroy();引擎版本 LayaAirIDE2.0_beta.5 报错: Uncaught TypeError: Cannot r...
来源: Laya_社区 发布时间: 20190118
物理碰撞器PhysicsCollider的isTrigger设为true后再设为false时的错误 有一个需求:一个物体,在一种情况下使得它是可以被穿透的,另一种是不可穿透即碰撞的。 物理创建出来自带物理碰撞器PhysicsCollider,isTrigger值为false,即碰撞器...
来源: Laya_社区 发布时间: 20190318
add PhysicsCollider组件的时候之间运行报错【2.0beta5.1] var boxMesh:BoxMesh = new BoxMesh(2,2,2); //创建模型显示对象 var box3D:MeshSprite3D = new MeshSprite3D(boxMesh); box3D.addComponent(PhysicsCollider); scene.addChild(box3D); 附件 : --> 2019-01-04 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20190104
[laya3d 2.0.0beta2]destroy带有PhysicsCollider组件的Sprite3D对象时报错 laya3d示例项目,在box上附加一个PhysicsCollider组件,然后调用box的destroy函数,报错。报错信息如下: 工程见附件。 附件 : --> crash.zip 2018-09-26 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180926
Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent PhysicsCollider这个组件我只添加了一次,当我按住键盘在点击鼠标的时候,就会有这个错误。说我组件重复添加。我不知道,是你们有默认的键盘事件影响的,还是什么问...
来源: Laya_社区 发布时间: 20200505
...d at MeshColliderShape.__proto._setScale (laya.d3.js:23983) at PhysicsCollider.__proto._onScaleChange (laya.d3.js:21429) at PhysicsCollider.__proto._innerDerivePhysicsTransformation (laya.d3.js:21500) at PhysicsCollider.__proto._derivePhysicsTransformation (laya.d3.js:21461) ...
来源: Laya_社区 发布时间: 20190418
...icsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了 Uncaught TypeError: Cannot read property '_physicsUpdateList' of null at PhysicsCollider.__proto._onDestroy (laya.d3.js:21732) ...
来源: Laya_社区 发布时间: 20190415
...ole = scene3D.getChildByName("Cube") as Laya.MeshSprite3D; let phy: Laya.PhysicsCollider = this.role.addComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider; let mesh:Laya.Mesh = Laya.loader.getRes("res/Conventional/Library/unity default resources-Cube.lm"); let physhape: Laya.MeshColliderShape...
来源: Laya_社区 发布时间: 20191026
用cannon测试 在U3D 中加MeshCollider后运行报 _addPhysicsCollider错误,取消后,则不会 ncaught TypeError: Cannot read property '_addPhysicsCollider' of undefined at PhysicsCollider._addToSimulation (laya.d3.js:28717) at PhysicsCollider._onEnable (laya.d3.js:2896) ...
来源: Laya_社区 发布时间: 20200702