@adatechnology/game-interactables-household 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3294,6 +3294,9 @@ function shower(c) {
3294
3294
  c.spec.colliders = [];
3295
3295
  c.collider("wall_back", -hw, 0, -hd, hw, h, -hd + 0.03);
3296
3296
  c.collider("wall_left", -hw, 0, -hd + 0.03, -hw + 0.03, h, hd - 0.05);
3297
+ c.collider("glass_side", hw - 0.032, 0, -hd + 0.03, hw, h, hd);
3298
+ if (hingeX - (-hw + 0.03) > 0.02) c.collider("glass_fixed", -hw + 0.03, 0, zFront - 4e-3, hingeX - 4e-3, h, zFront + 4e-3);
3299
+ c.add("colliders", { id: "glass_door", center: [round3((hingeX + dx1) / 2), round3(h / 2), round3(zFront)], half: [round3(dw / 2), round3(h / 2), 4e-3], part: "glass_door", offWhenOpen: true });
3297
3300
  }
3298
3301
  var FLUSH_TRAVEL = 8e-3;
3299
3302
  var BOWL_Z = 0.12;