private void recurseAddJoint(Joint joint) {
        affectedJoints.set(joint.getId());
        for (Joint j : joint.getChildren()) {
            recurseAddJoint(j);
        }
    }
Add a joint and all its sub armature joints to be influenced by this animation mask.

@param armature the Armature containing the ancestor joint
@param jointName the names of the ancestor joint

@throws IllegalArgumentException if it can not find the joint
         with the specified name on the provided armature
jme3-core/src/main/java/com/jme3/anim/ArmatureMask.java