Ragdoll question

How to prevent this?

QC:


$modelname "pac_titan/ground_cannon.mdl"
$cdmaterials "models/pac_titan"
$scale 46
$model "studio" "ground_cannon"

$collisionjoints ground_cannon_physics {

	$mass 600
	$drag 0
	$inertia 0
	$damping 0.00
	$rotdamping 0.00
	$rootbone "root"
	$concaveperjoint
	$maxconvexpieces 500
	
	$jointconstrain "z_axis" x limit 0.00 0.00 0.00
	$jointconstrain "z_axis" y limit -180.00 180.00 0.00
	$jointconstrain "z_axis" z limit 0.00 0.00 0.00

	$jointconstrain "x_axis" x limit -3.00 12.00 0.00
	$jointconstrain "x_axis" y limit 0.00 0.00 0.00
	$jointconstrain "x_axis" z limit 0.00 0.00 0.00
}
$sequence ragdoll 		"ground_cannon_physics" 

$attachment "z_attach" "z_axis" 0 0 0 rotate 0 0 0
$attachment "x_attach" "x_axis" 0 0 0 rotate 0 0 0
$attachment "root_attach" "root" 0 0 0 rotate 0 0 0

bump

Instead of a ragdoll, you could try making it a prop. Using ragdolls is not very reliable

Too Bad, thats nt really an option :confused:
Constraint.axis would be an option but i cant figure out how its working :confused:

Freeze before spawn and then weld the “bone” to the main body…
Nvm, i see what u want now.
You could add a think and check it angels and see if it matches the rotation of the main body.