diff --git a/jme3-core/src/main/java/com/jme3/bounding/BoundingVolume.java b/jme3-core/src/main/java/com/jme3/bounding/BoundingVolume.java index 8a2b87cd1..824f93992 100644 --- a/jme3-core/src/main/java/com/jme3/bounding/BoundingVolume.java +++ b/jme3-core/src/main/java/com/jme3/bounding/BoundingVolume.java @@ -195,6 +195,10 @@ public abstract class BoundingVolume implements Savable, Cloneable, Collidable { center.set(newCenter); } + public final void setCenter(float x, float y, float z) { + center.set(x, y, z); + } + /** * Find the distance from the center of this Bounding Volume to the given * point.