Garry's Mod Wiki
Description
For use with Entity:PhysicsInit, Entity:SetSolid and Entity:GetSolid.
Values
SOLID_NONE | 0 | Does not collide with anything.
No physics object will be created when using this with Entity:PhysicsInit. |
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.
Seems to be broken. |
SOLID_CUSTOM | 5 | Always call the entity's ICollideable::TestCollision method for traces regardless of the presence of FSOLID_CUSTOMRAYTEST or FSOLID_CUSTOMBOXTEST . This will only be called back to Lua as ENTITY:TestCollision for "anim" type SENTs. |
SOLID_VPHYSICS | 6 | Uses the PhysObjects of the entity. |
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...