They made it 'painfully' obvious/clear that we were not welcome. [=they made it very clear in a way that was rude or upsetting that we were not welcome]
His ankle is swollen and 'painful to the touch'. [=his ankle hurts if he touches it]
After the injury she was 'painfully' aware that her career in tennis would be over.
(..) - Takes a better mind than mine to fix it. - Better mind? Well... I was trying to be modest. A less busy mind. Yours. - Is it really painful? - You're very welcome to try it, Alfred. Happy watching. Thank you, sir. Not bad. Not bad at all. If you're seriously considering (..)2012 The Dark Knight Rises
(..) - It doesn't matter who we are. What matters is our plan. No one cared who I was till I put on the mask. If I pull that off, will you die? - It would be extremely painful. - You're a big guy. For you. - Was getting caught part of your plan? - Of course. Dr. Pavel refused our offer (..)2012 The Dark Knight Rises