Hedgehogs in a three-dimensional anisotropic spin system