Hydrocode modeling of oblique impacts into terrestrial planets