Garry's Mod Wiki

Revision Difference

Enums/SOLID#514955

<cat>enum</cat>⤶ <enumeration>⤶ <description>For use with <page>Entity:PhysicsInit</page>, <page>Entity:SetSolid</page> and <page>Entity:GetSolid</page>.</description>⤶ <fields>⤶ {{EnumField|SOLID_NONE|0|Does not collide with anything⤶ <note>No Physics Object will be created when using this.</note>⤶ </fields>⤶ ⤶ </enumeration>⤶ ⤶ {{EnumField|SOLID_BSP|1|The entity has a brush model defined by the map. Does not collide with other SOLID_BSP entities.}}{{EnumField|SOLID_BBOX|2|Uses the entity's axis-aligned bounding box for collisions}}{{EnumField|SOLID_OBB|3|Uses the entity's object-aligned bounding box for collisions}}{{EnumField|SOLID_OBB_YAW|4|Same as SOLID_OBB but restricts orientation to the Z-axis⤶ <note>Seems to be broken.</note>⤶ }}{{EnumField|SOLID_CUSTOM|5|Always call into the entity for tests}}{{EnumField|SOLID_VPHYSICS|6|Uses the <page>PhysObj</page>ects of the entity}}⤶ }}