Physical contact with environment

Hello,
I’d like to ask about maybe a silly question…

Do you know when you have a physical contact with environment in games ?

I’d like to know the principle of this combination of external meshes with character’s animation

I think stuff like this with the velve wheel: Mirror's Edge - Full Game Playthrough (No Commentary) - YouTube

Thank you very much