Return to Main Docs Page

SOLID

NewerServer.png Enumerations used by Entity:SetSolid(), Entity:GetSolid() and Entity:VPhysicsInitNormal().

Values:



ENUM NUM Description
SOLID_NONE 0 Does not collide with anything.
SOLID_BSP 1 The entity has a brush model defined by the map. Does not collide with other SOLID_BSP entities.
SOLID_BBOX 2 Uses the entity's axis-aligned bounding box for collisions.
SOLID_OBB 3 Uses the entity's object-aligned bounding box for collisions.
SOLID_OBB_YAW 4 Same as SOLID_OBB but restricts orientation to the Z-axis.
SOLID_CUSTOM 5 ?
SOLID_VPHYSICS 6 Uses the PhysObjects of the entity.