I propose to fix issue #631 by making the following one-line change to
/trunk/engine/src/bullet-common/com/jme3/bullet/util/CollisionShapeFactory.java
and
/branches/gradle-restructure/jme3-bullet/src/common/java/com/jme3/bullet/util/CollisionShapeFactory.java
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -210,7 +210,7 @@
private static MeshCollisionShape createSingleMeshShape(Geometry geom, Spatial parent) {
Mesh mesh = geom.getMesh();
Transform trans = getTransform(geom, parent);
- if (mesh != null) {
+ if (mesh != null && mesh.getMode() == Mesh.Mode.Triangles) {
MeshCollisionShape mColl = new MeshCollisionShape(mesh);
mColl.setScale(trans.getScale());
return mColl;
May I commit these changes?
Iām getting near the end of my personal backlog of JME changes, by the way. Just a few more, and I should quiet down.