Though they did not really change Link's body in any way in the end, the portals featured at the end of the adult dungeons in Ocarina of Time and each dungeon in Twilight Princess both caused a physical change for Link that included such things as being encased inside a crystal or transforming into Twilight matter in order to be warped out of the dungeon.