diff --git a/engine/src/core/com/jme3/scene/Mesh.java b/engine/src/core/com/jme3/scene/Mesh.java index 1f2c03d3c..7076b7fdc 100644 --- a/engine/src/core/com/jme3/scene/Mesh.java +++ b/engine/src/core/com/jme3/scene/Mesh.java @@ -896,6 +896,10 @@ public class Mesh implements Savable, Cloneable { BoundingVolume worldBound, CollisionResults results){ + if (getVertexCount() == 0) { + return 0; + } + if (collisionTree == null){ createCollisionData(); }