How can I prevent a third person mesh from clipping into walls and stuff?

Look at the arms.