add getAttachedBodies() for JointStateGroup