camera collision on dead

if i die my char falls to the ground and the camera is moving and rotating with my meshs head. sometimes it happens that my camera goes through the ground. how can i prevent this? i thought of a spring arm or a collision but somehow it doesnt work. does somebody knows how to solve this problem? its fps btw. thanks!