Well.. not really. For a cave, I just check in three positions (above, below and in front of the ship) if of the cave is met. for anything else (other ships, bullets) it's just a rectangle collider.
Thanks!