大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0014 秒)
...osition(); // let center = bodyOriA.GetPosition(); let center = new box2d.b2Vec2((450 + 100) / Physics.PIXEL_RATIO, (300 + 100) / Physics.PIXEL_RATIO); const d = box2d.b2Vec2.SubVV(center, position, new box2d.b2Vec2()); if (d.LengthSquared() < 1E-5) { continue; } d.Normalize(); const F = new box2d.b...
来源: Laya2.0_示例 发布时间: 20260929
...joint.GetLength() * Laya.Physics.PIXEL_RATIO; let localAnchor = new box2d.b2Vec2(); wheelBody.getBody().GetLocalPoint({ x: (this.pos[0] + this.m_offset[0]) / Laya.Physics.PIXEL_RATIO, y: (this.pos[1] + this.m_offset[1]) / Laya.Physics.PIXEL_RATIO }, localAnchor); let anchor = [-localAnchor.x * Laya....
来源: Laya2.0_示例 发布时间: 20260929