S&box Wiki

Automatic Model Setup

How Does This Work?

So in your models you can have multiple meshes, and these meshes have names, You can set prefixes on meshes in your model to have them be automatically set up for you. like so.

as you can see you have to right click your model file in the asset browser and create the model from there for this to work.

Prefixes and what they setup

Prefix What is Sets up
_hull makes this mesh into a physics hull
_col / _phys this will make this mesh into a physics mesh
_lod0 -> upwards sets this mesh to a lod level

currently as you can see we can only set up the physics and lods on the model