- Apr 9, 2008
- 1,706
- 1,491
I have a collision model split into 3 parts and each part has it's own smoothing groups. When I compiled it, studiomdl makes it 1 single convex shape for some reason.
But when I remove one of the parts it will recognise each part as its own convex shape like this.
Here's the .QC
Here's the compile log
EDIT: D'oh. Each part had to be attached.
But when I remove one of the parts it will recognise each part as its own convex shape like this.
Here's the .QC
Code:
$staticprop
$origin 0 0 0 270
$cd "C:\Users\Aaron\Desktop\Nightfall\models_src"
$modelname "props_nightfall/door_176x144.mdl"
$model "body" "door_176x144.smd"
$cdmaterials "models\props_nightfall\"
$surfaceprop "wood"
$sequence ref "door_176x144_ref" fps 30.00
$collisionmodel "door_176x144_phys.smd" {
$convex
$mass 80.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}
Here's the compile log
Code:
Building binary model files...
Working on "door_176x144.qc"
SMD MODEL C:\Users\Aaron\Desktop\Nightfall\models_src/door_176x144.smd
SMD MODEL C:\Users\Aaron\Desktop\Nightfall\models_src/door_176x144_ref.smd
SMD MODEL C:\Users\Aaron\Desktop\Nightfall\models_src/door_176x144_phys.smd
Model has 1 convex sub-parts
Collision model completed.
EDIT: D'oh. Each part had to be attached.
Last edited: