Physics on PlayerModels/Npcs.

Ive seen a video on youtube, with someone playing as hatsune miku. She was walking around with physics on her hair and skirt. How is that possible? As in physics I mean her skirt and hair was moving as she walked along.

Jigglebones