Object bounds not updated with animation

Can you describe how a bounding box is used in raycasting? It seems like if you are raycasting against just the box, there would be a lot of times where your raycast would hit the box but not the character.