Movetype

From GMod Wiki

Jump to: navigation, search

Movetypes are a kind of enumeration.

They are listed below:

 
MOVETYPE_NONE       = 0   -- Never moves.
MOVETYPE_ISOMETRIC  = 1   -- For players, in TF2 commander view, etc.
MOVETYPE_WALK       = 2   -- Player only, moving on the ground.
MOVETYPE_STEP       = 3   -- Monster/NPC movement.
MOVETYPE_FLY        = 4   -- Like no clip movement, but with collision.
MOVETYPE_FLYGRAVITY = 5   -- Flying but also affected by gravity.
MOVETYPE_VPHYSICS   = 6   -- Uses VPHYSICS for simulation.
MOVETYPE_PUSH       = 7   -- No clip to world, but pushes and crushes things.
MOVETYPE_NOCLIP     = 8   -- No clip mode movement.
MOVETYPE_LADDER     = 9   -- For players, when moving on a ladder.
MOVETYPE_OBSERVER   = 10  -- For players, when in observer mode.
MOVETYPE_CUSTOM     = 11  -- Allows the entity to describe its own physics.
 

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox