Garry's Mod Wiki

Revision Difference

Enums/SOLID#516116

<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>⤶ <item key="SOLID_NONE" value="0">Does not collide with anything <note>No Physics Object will be created when using this.</note></item><item key="SOLID_BSP" value="1">The entity has a brush model defined by the map. Does not collide with other SOLID_BSP entities.</item><item key="SOLID_BBOX" value="2">Uses the entity's axis-aligned bounding box for collisions</item><item key="SOLID_OBB" value="3">Uses the entity's object-aligned bounding box for collisions</item><item key="SOLID_OBB_YAW" value="4">Same as SOLID_OBB but restricts orientation to the Z-axis⤶ <note>Seems to be broken.</note></item><item key="SOLID_CUSTOM" value="5">Always call into the entity for tests</item><item key="SOLID_VPHYSICS" value="6">Uses the <page>PhysObj</page>ects of the entity</item>⤶ </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}}⤶ }}