Discord
Steam
/
Developers
/
$jointconstrai..
Login/Join
Event Log
$jointconstrain mesh tiny after compile.
0 replies, posted
Search
In This Thread
Hello there. I'm having an isue with my colisionmesh for a ragdoll, using $jointconstrain. I've read the dev wiki page, copied the example and replaced the bones from the example with mine. It does compile and the mesh does move correctly when i move the "test" lever in the physics tab in HLMV, but the physics mesh parts are all too tiny. Does anyone know a way to fix this issue? i can't quite wrap my head around it. Below is a picture showing the phys.smd in comparison with the physics mesh after compile and my qc file. [IMG]http://i.imgur.com/Vi7rj1d.png[/IMG] [CODE]$modelname "Funreal/MWO\Atlas.mdl" $model "Funreal" "Group.001.smd" $poseparameter "body_pitch" -45 45 360 $poseparameter "body_yaw" -45 45 360 $cdmaterials "Funreal/MWO/atlas" $texturegroup "skinfamilies" { { "atlas_scale.vmt" } { "atlas_applejack_a_body_dif.vmt" } { "atlas_boarshead_a_body_dif.vmt" } } $surfaceprop "metal" $contents "solid" $skipboneinbbox $sequence ragdoll "Group.001.smd" FPS 30 activity ACT_DIERAGDOLL 1 $collisionjoints "phys.smd" { $mass 115.0 $inertia 2.00 $damping 0.01 $rotdamping 0.00 $rootbone "pelvis" $jointmassbias "pelvis" 0.70 $jointinertia "pelvis" 2.50 $jointdamping "pelvis" 0.28 $jointrotdamping "pelvis" 4.55 $jointskip "shoulderflap_right" $jointskip "1finger_right" $jointskip "12finger_right" $jointskip "13finger_right" $jointskip "2finger_right" $jointskip "22finger_right" $jointskip "23finger_right" $jointskip "3finger_right" $jointskip "32finger_right" $jointskip "33finger_right" $jointskip "4finger_right" $jointskip "42finger_right" $jointskip "43finger_right" $jointskip "5finger_right" $jointskip "52finger_right" $jointskip "shoulderflap_left" $jointskip "1finger_left" $jointskip "12finger_left" $jointskip "13finger_left" $jointskip "2finger_left" $jointskip "22finger_left" $jointskip "23finger_left" $jointskip "3finger_left" $jointskip "32finger_left" $jointskip "33finger_left" $jointskip "4finger_left" $jointskip "42finger_left" $jointskip "43finger_left" $jointskip "5finger_left" $jointskip "52finger_left" $jointskip "toe_right_1" $jointskip "toe_right_2" $jointskip "toe_right_3" $jointskip "toe_left_1" $jointskip "toe_left_2" $jointskip "toe_left_3" $jointconstrain "thigh_left" x limit -100 100 0.00 $jointconstrain "thigh_left" y limit 0.00 0.00 0.00 $jointconstrain "thigh_left" z limit 0.00 0.00 0.00 $jointconstrain "calf_left" x limit -100 130.00 0.00 $jointconstrain "calf_left" y limit 0.00 0.00 0.00 $jointconstrain "calf_left" z limit 0.00 0.00 0.00 $jointconstrain "thigh_right" x limit -100.00 100.00 0.00 $jointconstrain "thigh_right" y limit 0.00 0.00 0.00 $jointconstrain "thigh_right" z limit 0.00 0.00 0.00 $jointconstrain "calf_right" x limit -100 130.00 0.00 $jointconstrain "calf_right" y limit -25.00 25.00 0.04 $jointconstrain "calf_right" z limit -13.00 30.00 0.04 $jointconstrain "foot_right" x limit -20.00 20.00 0.00 $jointconstrain "foot_right" y limit 0.00 0.00 0.00 $jointconstrain "foot_right" z limit 0.00 0.00 0.00 $jointconstrain "torso" x limit -20.00 20.00 0.00 $jointconstrain "torso" y limit -180.00 180.00 0.00 $jointconstrain "torso" z limit 0.00 0.00 0.00 $jointconstrain "shoulder_left" x limit -20.00 20.00 0.00 $jointconstrain "shoulder_left" y limit -25.00 25.00 0.04 $jointconstrain "shoulder_left" z limit -13.00 30.00 0.04 $jointconstrain "upperarm_left" x limit -20.00 20.00 0.00 $jointconstrain "upperarm_left" y limit -25.00 25.00 0.04 $jointconstrain "upperarm_left" z limit -13.00 30.00 0.04 $jointconstrain "shoulder_right" x limit -20.00 20.00 0.00 $jointconstrain "shoulder_right" y limit -25.00 25.00 0.04 $jointconstrain "shoulder_right" z limit -13.00 30.00 0.04 $jointconstrain "upperarm_right" x limit -20.00 20.00 0.00 $jointconstrain "upperarm_right" y limit -25.00 25.00 0.04 $jointconstrain "upperarm_right" z limit -13.00 30.00 0.04 $jointconstrain "lowerarm_right" x limit -20.00 20.00 0.00 $jointconstrain "lowerarm_right" y limit -25.00 25.00 0.04 $jointconstrain "lowerarm_right" z limit -13.00 30.00 0.04 $jointconstrain "lowerarm_left" x limit -20.00 20.00 0.00 $jointconstrain "lowerarm_left" y limit -25.00 25.00 0.04 $jointconstrain "lowerarm_left" z limit -13.00 30.00 0.04 $jointconstrain "foot_left" x limit -20.00 20.00 0.00 $jointconstrain "foot_left" y limit -25.00 25.00 0.04 $jointconstrain "foot_left" z limit -13.00 30.00 0.04 }[/CODE]
Sorry, you need to
Log In
to post a reply to this thread.