Collision Models

From The DarkMod Wiki
Revision as of 06:00, 25 January 2011 by Tels (talk | contribs) (add some things)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Moveable entities need a collision model (cm) or the map won't run. This is a defined shape simplified to help performance. In particular, if you create one of the moveable custom entities you need to consider this.

This can be built into the model file itself.

A separate cm file can be created in the editor (see Moveables) eg, name.cm.

The entity can reference another model file's cm using the clipmodel spawnarg. In particular, some models have had a separate model file created containing only a cm and these are in models\darkmod\misc\clipmodels. For example, barrel01_cm.lwo.

See also

  • Models - Overview over the different kind of models