• Problems with Physics Model
    3 replies, posted
Just when I was ready to give joints to my new model, this happens. [IMG]http://img.photobucket.com/albums/v253/karasz87/FreakinHoggerPhysics.jpg[/IMG] However, it does let me add joints, but if I am willing to spawn it in gmod with THAT, then it will have a spaz attack. A ragdoll with seizure syndrome is more like a "do not want" sort of thing. And I was hoping I won't have the same problem over again. Does anybody have a solution about that? Because I think it'd look stupid when spawning to gmod.
Did you, by any chance, use your reference model as a collision model? Ragdolls require dedicated phymodels that have individual segments for each moveable bone, like this: [img]http://img717.imageshack.us/img717/7220/collh.jpg[/img] The phymodel SMD should not contain any of the reference model's geometry. The bones must have 100% ownership of their respective segments. Otherwise, you'll get a kind of shrink wrap thing happening and it will cause serious problems.
Well, I did try exporting them to smd models. I use the original model and physics as references. And the physics itself as sequence. But why did it look like that? Can you tell me the steps I should do to fix the problem?
[QUOTE=KaraszKun;28863980]And the physics itself as sequence.[/QUOTE] This looks like it might be your problem. Your physics model must be exported as a reference SMD. All SMDs containing geometry must be exported as references. 'Sequence' is for SMDs containing animation (like idle.smd). Here's what the two reference-type SMDs used by a ragdoll look like: [img]http://img716.imageshack.us/img716/585/breen1.png[/img] [img]http://img528.imageshack.us/img528/9731/breen.png[/img] As a simple ragdoll with no face-flexes or anything, the above model's *.qc would look like this: [code]$cd "C:\breen\" $modelname "breen.mdl" $model "breen" "breen_reference.smd" $cdmaterials "models\breen\" $cdmaterials "models\humans\male\" $surfaceprop "flesh" $sequence ragdoll "breen_reference" ACT_DIERAGDOLL 1 fps 30.00 $collisionjoints "phymodel.smd" { $mass 90.0 $inertia 10.00 $damping 0.01 $rotdamping 1.50 $rootbone "valvebiped.bip01_pelvis" $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1" $jointconstrain "valvebiped.bip01_spine2" x limit -48.00 48.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -25.00 50.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -39.00 39.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -79.00 95.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -93.00 23.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -95.00 84.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -86.00 26.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -149.00 4.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -37.00 37.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -57.00 59.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -149.00 4.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -57.00 70.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -8.00 75.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -97.00 32.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 126.00 0.00 $jointconstrain "valvebiped.bip01_head1" x limit -20.00 20.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -13.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" x limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -73.00 6.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -93.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -8.00 126.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -19.00 19.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -15.00 35.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -25.00 6.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -15.00 35.00 0.00 $animatedfriction 1.000 400.000 0.500 0.300 0.000 }[/code]
Sorry, you need to Log In to post a reply to this thread.