MinieExamples/src/main/java/jme3utilities/minie/test/TestSoftBody.java
/**
     * If the scene contains exactly one DynamicAnimControl, and it's ready to
     * go dynamic, put it into ragdoll mode.
     */
If the scene contains exactly one DynamicAnimControl, and it's ready to
go dynamic, put it into ragdoll mode.
If the scene contains exactly one DynamicAnimControl and it ' s ready to go dynamic put it into ragdoll mode .
private void goLimp() {
        List<DynamicAnimControl> dacs = MySpatial.listControls(rootNode,
                DynamicAnimControl.class, null);
        if (dacs.size() == 1) {
            DynamicAnimControl dac = dacs.get(0);
            if (dac.isReady()) {
                dac.setRagdollMode();
            }
        }
    }
private void goLimp ( ) { List < DynamicAnimControl > dacs = MySpatial . listControls ( rootNode , DynamicAnimControl . class , null ) ; if ( dacs . size ( ) == 1 ) { DynamicAnimControl dac = dacs . get ( 0 ) ; if ( dac . isReady ( ) ) { dac . setRagdollMode ( ) ; } } }
If the scene contains exactly one DynamicAnimControl, and it's ready to
 go dynamic, put it into ragdoll mode.
If the scene contains exactly one DynamicAnimControl and it ' s ready to go dynamic put it into ragdoll mode .