大约有 2 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0012 秒)
...mponentIntance(pointRB1); let preBody = pointRB1; let width = 20, height = 2.5; for (let i = 0; i { let targetX = (300 + Math.random() * 400) / Laya.Physics.PIXEL_RATIO, targetY = 500 / Laya.Physics.PIXEL_RATIO; let newBall = new Laya.Sprite(); Laya.Laya.stage.addChild(newBall); let circleBody = new...
来源: Laya2.0_示例 发布时间: 20241124
...高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Physics...
来源: Laya2.0_示例 发布时间: 20241124