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

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

1. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 100%]

...function (other) { this.tsizex = this.box._components[0]._transformOrientedBoundBox.extents.x; this.tsizez = this.box._components[0]._transformOrientedBoundBox.extents.z; this.osizex = other._transformOrientedBoundBox.extents.x; this.osizez = other._transformOrientedBoundBox.extents.z; //得到是...

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

2. 释放资源报错 [ 88%]

...7071068 ], "scale":[ -0.1805366, -0.1261967, -0.1261967 ], "rootBone":52, "boundBox":{ "min":[ -0.330108, -0.5589796, -0.68723 ], "max":[ 0.6775162, 0.1249337, 0.06879723 ] }, "boundSphere":{ "center":[ 0.1737041, -0.217023, -0.3092164 ], "radius":0.7166975 }, "bones":[ 56, 57, 58, 52, 53, 54 ], "ma...

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

3. phasorSpriter3D 无法使用 [ 85%]

...] = new Laya.Vector3(); _corners[7] = new Laya.Vector3(); this.boxCollider.boundBox.getCorners(_corners) this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, this.camera); this.phasorSpriter3D.line(_corners[0], _color, _corners[1], _color); this.phasorSpriter3D.line(_corners[1], _color, _corners[2], ...

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

4. 有关Laya3D碰撞检测疑问 [ 83%]

...ane.addComponent(Laya.BoxCollider) as Laya.BoxCollider; boxCollider.setFromBoundBox(plane.meshFilter.sharedMesh.boundingBox); plane.name = "平面";  //正方体 let box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))) as Laya.MeshSprite3D; let boxMat: Lay...

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

5. SphereCollider和MeshCollider碰撞检测的bug [ 80%]

...ider=other; if (Collision.sphereContainsBox(this.boundSphere,meshCollider._boundBox)!==/*laya.d3.math.ContainmentType.Disjoint*/0){ var positions=meshCollider.mesh._positions; for (var i=0,n=positions.length;i < n;i++){ if (Collision.sphereContainsPoint(this.boundSphere,positions[i])===/*laya.d3....

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

6. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 36%]

...068 ], "scale":[ 0.5372322, 0.5372322, 0.5372322 ], "rootBone":"Bone028", "boundBox":{ "min":[ -0.07214917, -0.04863032, -0.04459107 ], "max":[ 0.148447, 0.0552587, 0.04798841 ] }, "boundSphere":{ "center":[ 0.03814892, 0.00331419, 0.001698675 ], "radius":0.1304095 }, "materials":[ { "type":"Laya.Bl...

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