diff --git a/engine/src/bullet-common/com/jme3/bullet/util/CollisionShapeFactory.java b/engine/src/bullet-common/com/jme3/bullet/util/CollisionShapeFactory.java index b0031f228..44aab2808 100644 --- a/engine/src/bullet-common/com/jme3/bullet/util/CollisionShapeFactory.java +++ b/engine/src/bullet-common/com/jme3/bullet/util/CollisionShapeFactory.java @@ -225,7 +225,6 @@ public class CollisionShapeFactory { * @return BoxCollisionShape with the size of the spatials BoundingBox */ private static BoxCollisionShape createSingleBoxShape(Spatial spatial, Spatial parent) { - spatial.setModelBound(new BoundingBox()); //TODO: using world bound here instead of "local world" bound... BoxCollisionShape shape = new BoxCollisionShape( ((BoundingBox) spatial.getWorldBound()).getExtent(new Vector3f()));