I've doing this research since Ryosuke ragdoll launched but I never make any one because I am not enough skills to find the way.
And sometimes body has go through solid environment (collision bound).
However this mod has some bug, sometimes ragdoll never ending, making ped is never wake up and 'sleep' forever, they still have health points or they have no points but the game read ped as alive. The second is Madleg's ragdoll physics, He using software called 'Bullet physics' and hook'em into ingame animation, this mod have collision detection and joint limit. Making user can decide when ragdoll performed. But the cool things he's add body detachment in the latest release and ragdoll activated if ped performing listed animation and frame which listed on the config file. The first is Ryosuke's ragdoll who simulate body by spring between joints,however there are missing parts and that is collision bound and joint limit, making body movement is unnatural (twisted and jellying).
Some of mod by community brings ragdoll physics to San Andreas, there are two noted mods: Nowadays, physics are core element for video games which wants to simulate real life things. Everyone loves how physics simulated to video games, they showed us object moves and transformed just like real things and makes the game element never boring.