In Source2 you don’t need a special ragdoll entity to create a ragdoll clientside. I haven’t looked into the serverside yet, but I assume we still need to use a special one to network the physics bone positions.
Here I’m spawning clientside ragdolls. In Source2 pretty much all entities can run purely clientside. This means our code doesn’t have to do special stuff… to spawn this I’m just doing…
var ent = new ModelEntity();
ent.Pos = EyePos;
ent.Rot = EyeRot;
ent.MoveUsingPhysics = true;
ent.UsePhysicsCollision = true;
ent.SetModel( "models/citizen/citizen.vmdl" );