Clip Model

From The DarkMod Wiki
Revision as of 12:02, 16 February 2009 by Tels (talk | contribs) (minor formating)
Jump to navigationJump to search

A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be generated in several ways:

  • It may be included in the model file as a collision mesh (shown as green in the Dark Radiant editor)
  • It can be defined by the clipmodel' spawnarg (see clipmodel)
  • A separate .cm file may be created in the editor (see Moveables)
  • It can be defined by the size spawnarg (see size)
  • It can be defined by the mins and maxs spawnargs (see mins and maxs)

The clip model can be disabled by adding the spawnarg and value: noclipmodel 1 (see noclipmodel)