In Star Wars: Episode V: The Empire Strikes Back, Luke's attacked by a Wampa and knocked out. When he awakens, he's dangling upside down, with his feet frozen into the ice on the ceiling. How'd the Wampa manage this? There's no indication that the Wampa is particularly intelligent, so how did an animal accomplish this feat of melting some of the ceiling, sticking Luke's feet in there, and letting it refreeze around his feet?
Wampas rarely killed their prey outright and never hunted when they were hungry. Because they preferred fresh meat, wampas instead always tried to stun their prey, keeping their victims unconscious, but alive, until ready to feed. After disabling their prey, wampas hauled the still-breathing victims back to their cave dwellings and, through different methods, secured them in the ice for later consumption. For some, wampas used their hot breath to melt the ice around a victim's legs and then coated parts of the body in saliva, placing them against the ice ceiling of their caves so they would freeze in place. The saliva also served as an anesthetic in the victims, which helped to keep prey comatose until the wampa was ready to eat. Alternatively, for larger creatures, such as the tauntaun, wampas frequently impaled them through the ankles on overhanging icicles or stalactites to keep them immobile. At times, several fresh victims were stored in this manner.