Garry's Mod Wiki

Revision Difference

Enums/FSOLID#516127

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>Entity:SetSolidFlags</page> and <page>Entity:GetSolidFlags</page>.</description> <fields>{{EnumField|FSOLID_CUSTOMRAYTEST|1|Ignore solid type + always call into the entity for ray tests</fields>⤶ <fields><item key="FSOLID_CUSTOMRAYTEST" value="1">Ignore solid type + always call into the entity for ray tests</item><item key="FSOLID_CUSTOMBOXTEST" value="2">Ignore solid type + always call into the entity for swept box tests</item><item key="FSOLID_NOT_SOLID" value="4">The object is currently not solid</item><item key="FSOLID_TRIGGER" value="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)</item><item key="FSOLID_NOT_STANDABLE" value="16">The player can't stand on this</item><item key="FSOLID_VOLUME_CONTENTS" value="32">Contains volumetric contents (like water)</item><item key="FSOLID_FORCE_WORLD_ALIGNED" value="64">Forces the collision representation to be world-aligned even if it's SOLID_BSP or SOLID_VPHYSICS</item><item key="FSOLID_USE_TRIGGER_BOUNDS" value="128">Uses a special trigger bounds separate from the normal OBB</item><item key="FSOLID_ROOT_PARENT_ALIGNED" value="256">Collisions are defined in root parent's local coordinate space</item><item key="FSOLID_TRIGGER_TOUCH_DEBRIS" value="512">This trigger will touch debris objects</item><item key="FSOLID_MAX_BITS" value="10">The amount of bits needed to store the all the flags in a variable/sent over network.</item></fields>⤶ </enumeration> {{EnumField|FSOLID_CUSTOMBOXTEST|2|Ignore solid type + always call into the entity for swept box tests}}{{EnumField|FSOLID_NOT_SOLID|4|The object is currently not solid}}{{EnumField|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)}}{{EnumField|FSOLID_NOT_STANDABLE|16|The player can't stand on this}}{{EnumField|FSOLID_VOLUME_CONTENTS|32|Contains volumetric contents (like water)}}{{EnumField|FSOLID_FORCE_WORLD_ALIGNED|64|Forces the collision representation to be world-aligned even if it's SOLID_BSP or SOLID_VPHYSICS}}{{EnumField|FSOLID_USE_TRIGGER_BOUNDS|128|Uses a special trigger bounds separate from the normal OBB}}{{EnumField|FSOLID_ROOT_PARENT_ALIGNED|256|Collisions are defined in root parent's local coordinate space}}{{EnumField|FSOLID_TRIGGER_TOUCH_DEBRIS|512|This trigger will touch debris objects}}{{EnumField|FSOLID_MAX_BITS|10|The amount of bits needed to store the all the flags in a variable/sent over network.}}⤶ }}