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

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

1. Laya2.5 物理系统表现异常BUG [ 100%]

...1 定义宽高0.5方块C的在0,0,-3位置,分组为2 定义半径为0.25的胶囊D的在0,0,-3位置,分组为2 定义半径为0.25的圆柱E的在0,0,-3位置,分组为2  使用shapecast方法将C目标cast到0,0,3的位置,得到返回值 使用shapecast方法将D目标ca...

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

2. [LayaAir3]charactarcontroller的胶囊碰撞体不正常 [ 91%]

...撞体不正常 默认radius:0.5,   Height:2 但是设为radius:0.25,   Height:1时胶囊碰撞体体正好包围蓝色胶囊网格体;再关闭编辑器重新打开项目时,发现碰撞胶囊体是大小 默认的0.5和2,但是数值是0.25和1   ----------------------------...

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

3. 有关Laya3D碰撞检测疑问 [ 78%]

...ya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25))) as Laya.MeshSprite3D; var sphereMat: Laya.StandardMaterial = new Laya.StandardMaterial(); sphereMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); sphere.meshRender.material = sphere...

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

4. 碰撞检测问题 [ 64%]

...十层 var dhBox = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.25, 0.05, 0.4))); var dhBoxMat = new Laya.StandardMaterial(); dhBox.meshRender.material = dhBoxMat; dhBox.transform.position = new Laya.Vector3(0.32, 2.13, 34.1); dhBox.transform.rotate(new Laya.Vector3(0, 0, 0), false, false...

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

5. [LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 [ 63%]

...小不一样,controller半径是0.5高是2,但Capsule网格半径只有0.25高是1   2024-07-03 0 2 分享 微博 QZONE 微信 球块 赞同来自: 截图 2024-07-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 球块 相关问题...

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

6. 3D射线碰撞总是会穿墙,求解决方法 [ 61%]

...面进入碰撞才有 this.capsuleCollider = new Laya.CapsuleColliderShape(0.25, 0.85); this.from = new Laya.Vector3(this.player.tran*orm.position.x, this.player.tran*orm.position.y + 1.5, this.player.tran*orm.position.z + 2); this.to = new Laya.Vector3(this.player.tran*orm.position.x, this.player.t...

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

7. graphics 问题 [ 58%]

...loadImage("../../res/apes/monkey2.png"); let m = new Laya.Matrix() m.skew(-0.25, 0) // ape.graphics.save() ape.graphics.transform(m) // ape.graphics.restore() let sp=new Sprite(); sp.graphics.drawRect(0,0,200,200,"#ffffff") Laya.stage.addChild(sp); sp.x=300; } })();请在引擎示例里面运行这...

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

8. 在线急等,发现你们这个编译器一个bug,不能实现负负得正 [ 58%]

...this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.stageHeight ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; } if (this.ball.x + this.vx >= this.stageWidth ||this.ball.x + this.vx <= 0) { this.vx...

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

9. 在线急等,发现你们这个编译器一个bug,不能实现负负得正,昨天明明解决了,过了一会又不行了,怎么回事 [ 56%]

...this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; console.log("33333"); } if (this.ball.x + this.vx > this.stageWidth ||this.ball.x + this.vx <...

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

10. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 55%]

...ld(camera);             camera.transform.translate(new Vector3(0, 0.25, 0.6));             camera.transform.rotate(new Vector3(-30,0,0),true,false);             var map:Sprite3D = Sprite3D.load("3d/zhuoZi/ZhuoZi.lh");             map.transform.localScale = new Vec...

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