The effect of target properties on impact cratering