$cd "D:\Documents and Settings\Barrbapappa\Skrivbord\Project ROBOTRAGDOLL\fingers\V2\ALLRA SISTA"
$modelname "Robot2.mdl"

$cdmaterials "models\robot\"
$surfaceprop "metall"

$model studio "robot_reference.smd"

$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00


$collisionjoints phymodel {

	$mass 60.0
	$inertia 5.00
	$damping 0.01
	$rotdamping 1.50
	$rootbone "root"
	$jointinertia "root" 10.00
	$jointdamping "root" 0.05
	$jointrotdamping "root" 1.50

	$jointconstrain "ryggrad 1" x limit 0.00 0.00 0.00
	$jointconstrain "ryggrad 1" y limit 0.00 0.00 0.00
	$jointconstrain "ryggrad 1" z limit -40.00 0.00 0.00

	$jointconstrain "ryggrad 2" x limit -15.00 15.00 0.00
	$jointconstrain "ryggrad 2" y limit -4.00 4.00 0.00
	$jointconstrain "ryggrad 2" z limit -12.00 5.00 0.00

	$jointconstrain "ryggrad 3" x limit -17.00 15.00 0.00
	$jointconstrain "ryggrad 3" y limit -4.00 4.00 0.00
	$jointconstrain "ryggrad 3" z limit -12.00 5.00 0.00

	$jointconstrain "brostkorg" x limit 0.00 0.00 0.00
	$jointconstrain "brostkorg" y limit 0.00 0.00 0.00
	$jointconstrain "brostkorg" z limit 0.00 0.00 0.00

	$jointconstrain "v axel" x limit -115.00 60.00 0.00
	$jointconstrain "v axel" y limit -115.00 90.00 0.00
	$jointconstrain "v axel" z limit -126.00 84.00 0.00

	$jointconstrain "h axel" x limit -60.00 115.00 0.00
	$jointconstrain "h axel" y limit -90.00 115.00 0.00
	$jointconstrain "h axel" z limit -126.00 84.00 0.00

	$jointconstrain "v armbage" x limit 0.00 0.00 0.00
	$jointconstrain "v armbage" y limit -160.00 0.00 0.00
	$jointconstrain "v armbage" z limit 0.00 0.00 0.00

	$jointconstrain "h armbage" x limit 0.00 0.00 0.00
	$jointconstrain "h armbage" y limit 0.00 160.00 0.00
	$jointconstrain "h armbage" z limit 0.00 0.00 0.00

	$jointconstrain "v hand" x limit -20.00 30.00 0.00
	$jointconstrain "v hand" y limit -80.00 30.00 0.00
	$jointconstrain "v hand" z limit -10.00 10.00 0.00

	$jointconstrain "v fingrar" x limit 0.00 0.00 0.00
	$jointconstrain "v fingrar" y limit -80.00 0.00 0.00
	$jointconstrain "v fingrar" z limit 0.00 0.00 0.00
	
	$jointconstrain "hals" x limit -5.00 5.00 0.00
	$jointconstrain "hals" y limit -5.00 5.00 0.00
	$jointconstrain "hals" z limit -20.00 20.00 0.00

	$jointconstrain "h hand" x limit -30.00 20.00 0.00
	$jointconstrain "h hand" y limit -30.00 80.00 0.00
	$jointconstrain "h hand" z limit -10.00 10.00 0.00

	$jointconstrain "h pek" x limit 0.00 0.00 0.00
	$jointconstrain "h pek" y limit 0.00 90.00 0.00
	$jointconstrain "h pek" z limit 0.00 0.00 0.00

	$jointconstrain "h fingrar" x limit 0.00 0.00 0.00
	$jointconstrain "h fingrar" y limit 0.00 80.00 0.00
	$jointconstrain "h fingrar" z limit 0.00 0.00 0.00

	$jointconstrain "huvud" x limit -30.00 20.00 0.00
	$jointconstrain "huvud" y limit -30.00 30.00 0.00
	$jointconstrain "huvud" z limit -30.00 30.00 0.00

	$jointconstrain "h ben" x limit -117.00 15.00 0.00
	$jointconstrain "h ben" y limit -30.00 30.00 0.00
	$jointconstrain "h ben" z limit -88.00 88.00 0.00

	$jointconstrain "h knaskal" x limit 0.00 0.00 0.00
	$jointconstrain "h knaskal" y limit 0.00 0.00 0.00
	$jointconstrain "h knaskal" z limit -140.00 0.00 0.00

	$jointconstrain "v ben" x limit -15.00 117.00 0.00
	$jointconstrain "v ben" y limit -30.00 30.00 0.00
	$jointconstrain "v ben" z limit -88.00 88.00 0.00

	$jointconstrain "v knaskal" x limit 0.00 0.00 0.00
	$jointconstrain "v knaskal" y limit 0.00 0.00 0.00
	$jointconstrain "v knaskal" z limit -140.00 0.00 0.00

	$jointconstrain "v pek" x limit 0.00 0.00 0.00
	$jointconstrain "v pek" y limit -90.00 0.00 0.00
	$jointconstrain "v pek" z limit 0.00 0.00 0.00

	$jointconstrain "h fot" x limit -35.00 35.00 0.00
	$jointconstrain "h fot" y limit -20.00 20.00 0.00
	$jointconstrain "h fot" z limit -26.00 17.00 0.00

	$jointconstrain "v fot" x limit -35.00 35.00 0.00
	$jointconstrain "v fot" y limit -20.00 20.00 0.00
	$jointconstrain "v fot" z limit -26.00 17.00 0.00
}