Garry's Mod Wiki

Revision Difference

Enums/COLLISION_GROUP#514556

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>Entity:SetCollisionGroup</page> and <page>Entity:GetCollisionGroup</page>.</description>⤶ <fields>{{EnumField|COLLISION_GROUP_NONE|0|Normal</fields>⤶ ⤶ </enumeration>⤶ ⤶ {{EnumField|COLLISION_GROUP_DEBRIS|1|Collides with nothing but world and static stuff}}{{EnumField|COLLISION_GROUP_DEBRIS_TRIGGER|2|Same as debris, but hits triggers. Useful for an item that can be shot, but doesn't collide.}}{{EnumField|COLLISION_GROUP_INTERACTIVE_DEBRIS|3|Collides with everything except other interactive debris or debris}}{{EnumField|COLLISION_GROUP_INTERACTIVE|4|Collides with everything except interactive debris or debris}}{{EnumField|COLLISION_GROUP_PLAYER|5}}{{EnumField|COLLISION_GROUP_BREAKABLE_GLASS|6|NPCs can see straight through an Entity with this applied.}}{{EnumField|COLLISION_GROUP_VEHICLE|7}}{{EnumField|COLLISION_GROUP_PLAYER_MOVEMENT|8|For HL2, same as Collision_Group_Player, for TF2, this filters out other players and CBaseObjects}}{{EnumField|COLLISION_GROUP_NPC|9}}{{EnumField|COLLISION_GROUP_IN_VEHICLE|10|Doesn't collide with anything, no traces}}{{EnumField|COLLISION_GROUP_WEAPON|11|Doesn't collide with players and vehicles}}{{EnumField|COLLISION_GROUP_VEHICLE_CLIP|12|Only collides with vehicles}}{{EnumField|COLLISION_GROUP_PROJECTILE|13}}{{EnumField|COLLISION_GROUP_DOOR_BLOCKER|14|Blocks entities not permitted to get near moving doors}}{{EnumField|COLLISION_GROUP_PASSABLE_DOOR|15|Let's the Player through, nothing else.}}{{EnumField|COLLISION_GROUP_DISSOLVING|16|Things that are dissolving are in this group}}{{EnumField|COLLISION_GROUP_PUSHAWAY|17|Nonsolid on client and server, pushaway in player code}}{{EnumField|COLLISION_GROUP_NPC_ACTOR|18}}{{EnumField|COLLISION_GROUP_NPC_SCRIPTED|19}}{{EnumField|COLLISION_GROUP_WORLD|20|Doesn't collide with players/props}}{{EnumField|LAST_SHARED_COLLISION_GROUP|21|Amount of COLLISION_GROUP_ enumerations}}⤶ }}