Clip Model: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
New page: Clip Model 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 fil... |
m delete extra apostrophe |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
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: | 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 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]]) | ||
Line 11: | Line 9: | ||
The clip model can be disabled by adding the spawnarg and value: ''noclipmodel 1'' (see [[noclipmodel]]) | The clip model can be disabled by adding the spawnarg and value: ''noclipmodel 1'' (see [[noclipmodel]]) | ||
{{editing}} |
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)