MOVECOLLIDE Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by Entity:SetMoveCollide and Entity:GetMoveCollide.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
MOVECOLLIDE_DEFAULT 0 Default behavior
MOVECOLLIDE_FLY_BOUNCE 1 Entity bounces, reflects, based on elasticity of surface and object - applies friction (adjust velocity)
MOVECOLLIDE_FLY_CUSTOM 2 ENTITY:Touch will modify the velocity however it likes
MOVECOLLIDE_FLY_SLIDE 3 Entity slides along surfaces (no bounce) - applies friciton (adjusts velocity)
MOVECOLLIDE_COUNT 4 Number of different movecollides
Personal tools
Navigation