diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/factory/BulletFactory.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/factory/BulletFactory.java index be6d8e7..adf0d8c 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/factory/BulletFactory.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/factory/BulletFactory.java @@ -17,6 +17,7 @@ Object3D pochaBody = null; try { pochaBody = ModelFactory.loadModel(resources, getModelName(), ap1).createObject(); + pochaBody.scale(getScale()); } catch (Exception e) { e.printStackTrace(); } @@ -27,5 +28,6 @@ protected abstract Material createMaterial(); protected Appearance createAppearance() { return new Appearance(); } + protected float getScale() { return 1.0f; }; protected abstract String getModelName(); }