diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/BulletsManager.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/BulletsManager.java index 147b592..d0e0a76 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/BulletsManager.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/BulletsManager.java @@ -82,15 +82,16 @@ visibleBullets.put(entry.getKey(), 1); ArrayList properties = new ArrayList<>(); + Bullet b = entry.getValue(); + // 自分自身は無視する - if (entry.getKey().equals(playerId)) { + if (b.getPlayerID().equals(playerId)) { playerVisibleBullets.put(entry.getKey(), 1); continue; } // 情報の取得 - Bullet b = entry.getValue(); properties.add(b.getPosition()); properties.add(b.getAngle()); @@ -107,7 +108,7 @@ Object3D pochaBody = null; try { pochaBody = ModelFactory.loadModel(resources, "pocha.stl", ap1).createObject(); - pochaBody.scale(5.0); + pochaBody.scale(0.5); } catch (Exception e) { e.printStackTrace(); }