大约有 14 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0027 秒)
...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
...撞体不正常 默认radius:0.5, Height:2 但是设为radius:0.25, Height:1时胶囊碰撞体体正好包围蓝色胶囊网格体;再关闭编辑器重新打开项目时,发现碰撞胶囊体是大小 默认的0.5和2,但是数值是0.25和1 ----------------------------...
来源: Laya_社区 发布时间: 20240304
...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
...十层 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
...小不一样,controller半径是0.5高是2,但Capsule网格半径只有0.25高是1 2024-07-03 0 2 分享 微博 QZONE 微信 球块 赞同来自: 截图 2024-07-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 球块 相关问题...
来源: Laya_社区 发布时间: 20240701
...面进入碰撞才有 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
...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
...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
...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
...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