Hi!
When removing/deleting the ragdoll from the scene, I got a simple exception. I found that this.space was being used after being null, I did this change:
[patch]
Index: src/jbullet/com/jme3/bullet/control/KinematicRagdollControl.java
===================================================================
— src/jbullet/com/jme3/bullet/control/KinematicRagdollControl.java (revision 7529)
+++ src/jbullet/com/jme3/bullet/control/KinematicRagdollControl.java (working copy)
@@ -587,7 +587,9 @@
this.space = space;
addToPhysicsSpace();
}
-
this.space.addCollisionListener(this);<br />
+
-
if(this.space != null)<br />
-
this.space.addCollisionListener(this);<br />
}
/**
[/patch]