So I'm modeling with sketchup and it's working pretty well but whats the code in .qc to make the model a physics model, and also how do I make a collision model in sketchup.
Please help.
Use the same smd as your reference model (the actual model) for the collision model for a prop (as it works perfectly well, better than making another model in my opinion and is easier). Use this code at the end of your QC:
[code]$collisionmodel "(yourmodel).smd" {
$mass 100.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}[/code]
replacing (yourmodel) with the name of the SMD you used for the $model line.
Thanks.
[QUOTE=vexx21322;17976385]Thanks.[/QUOTE]
np :)
Also can anyone help me with finding the physgun model name for gmod because I made a new model for it and can't figure out the name to replace the old on with.
[QUOTE=vexx21322;17976451]Also can anyone help me with finding the physgun model name for gmod because I made a new model for it and can't figure out the name to replace the old on with.[/QUOTE]
v_superphyscannon
w_physics
I tried the v_superphyscannon but it became invisible, any knowledge why this could have happened.
[QUOTE=vexx21322;17976532]I tried the v_superphyscannon but it became invisible, any knowledge why this could have happened.[/QUOTE]
Nope mine do aswell, though you could try putting rotate 90 after all the sequence lines, that sometimes fixes it.
[QUOTE=Silver Spirit;17976554]Nope mine do aswell, though you could try putting rotate 90 after all the sequence lines, that sometimes fixes it.[/QUOTE]
Sorry I'm kinda new at .qc editing, how and where would I place this in?