I managed to import a model of a airboat thingy and the area i want players to be able to walk through doesn't let me. The model seems to have a 'bounding box' wrapped around it and it wont let me walk/access the parts i need it to. Heres the example:
[url]https://gyazo.com/d225f63e430bc67a91dec09aca8913a1[/url] : the model
[url]https://gyazo.com/755f9b881fe630c36c7c3f383c189001[/url] : standing on the model
[url]https://gyazo.com/16398e421d3d8c79bcb8ac54e132eff1[/url] : another angle
Here is the qc file :
[CODE]$modelname "models/assaultboat/assaultboat.mdl"
$cdmaterials "models/assaultboat"
$scale 1.0
$surfaceprop "Metal"
$body "Body" "assaultboat.smd"
$sequence "idle" "assaultboat.smd" fps 30
$collisionmodel "assaultboat_collision.smd"
{
$mass 700
}
[/CODE]
Is there anyway to fix this to allow me to walk in the areas where its created a bounding box around the model? Thanks
You need to add the [b]$concave[/b] command to your QC. To make that working, you need to create a custom collisionmodel for it in a modeling program consisting of only convex shapes then recompile the QC.
[url]https://developer.valvesoftware.com/wiki/$collisionmodel[/url]
Ah yes that makes sense, thanks :)
[QUOTE=ashton93;48609107]You need to add the [b]$concave[/b] command to your QC. To make that working, you need to create a custom collisionmodel for it in a modeling program consisting of only convex shapes then recompile the QC.
[url]https://developer.valvesoftware.com/wiki/$collisionmodel[/url][/QUOTE]
Sorry, you need to Log In to post a reply to this thread.