Attaching spatial to a bone

I was messing with TestBoneRagdoll. I tryed to attach the ball to the model when it hits it, and it worked, but I have a problem. I want to attach the ball to the bone I hit, because now when i hit it ball just stays in place and limb flies away, I mean ball does move with the model, but not with the bone i hit. Would me attaching ball to the bone also resolve the problem of ball not moving while animation is on(lets say running), that is would it move with the animation?

http://hub.jmonkeyengine.org/javadoc/com/jme3/animation/SkeletonControl.html#getAttachmentsNode(java.lang.String)