Return to Main Docs Page

FSOLID

NewerServer.png Enumerations used by Entity:SetSolidFlags(), Entity:GetSolidFlags().

Values:



ENUM NUM Description
FSOLID_CUSTOMRAYTEST 1 Ignore solid type + always call into the entity for ray tests
FSOLID_CUSTOMBOXTEST 2 Ignore solid type + always call into the entity for swept box tests
FSOLID_NOT_SOLID 4 The object is currently not solid
FSOLID_TRIGGER 8 This is something may be collideable but fires touch functions even when it's not collideable (when the FSOLID_NOT_SOLID flag is set)
FSOLID_MAX_BITS 10 The amount of bits needed to store the all the flags in a variable/sent over network.
FSOLID_NOT_STANDABLE 16 The player can't stand on this
FSOLID_VOLUME_CONTENTS 32 Contains volumetric contents (like water)
FSOLID_FORCE_WORLD_ALIGNED 64 Forces the collision representation to be world-aligned even if it's SOLID_BSP or SOLID_VPHYSICS
FSOLID_USE_TRIGGER_BOUNDS 128 Uses a special trigger bounds separate from the normal OBB
FSOLID_ROOT_PARENT_ALIGNED 256 Collisions are defined in root parent's local coordinate space
FSOLID_TRIGGER_TOUCH_DEBRIS 512 This trigger will touch debris objects