大约有 123 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0024 秒)
...ine: engine, width: 640, height: 480, options: { // background: '../../res/physics/img/background.png', wireframes: false//true// } }); // create two boxes and a ground var boxA = Bodies.rectangle(400, 200, 80, 80); var boxB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 610...
来源: Laya_社区 发布时间: 20170905
...Manager.instance.mouseX,Laya.MouseManager.instance.mouseY),this.ray); Laya.Physics.rayCast(this.ray,this.hit); console.log("当前射线碰撞的信息是:" + this.hit.sprite3D.name); //摄像机位置 var position:Laya.Vector3=new Laya.Vector3(this.camera.position.x, 0, this.camera.position.z); //...
来源: Laya_社区 发布时间: 20181020
...te的图形数据生成导航网格。例如图2-12所示, (图2-12) Physics是从物理碰撞器数据生成导航网格。例如图2-13所示, (图2-13) MeshRender是从网格数据生成导航网格。例如图2-14所示, (图2-14) None是不使用任何现有数据。 设置好...
来源: Laya3.0_文档 发布时间: 20251010