Clip Model: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
m minor formating |
m delete extra apostrophe |
||
Line 2: | Line 2: | ||
* It may be included in the model file as a collision mesh (shown as green in the [[Dark Radiant]] editor) | * 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 | * It can be defined by the ''clipmodel'' spawnarg (see [[clipmodel]]) | ||
* A separate .cm file may be created in the editor (see [[Moveables]]) | * 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 ''size'' spawnarg (see [[size]]) |
Latest revision as of 12:42, 2 June 2021
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)