Entity:SetNotSolid(Entity, boolean)

shared
Sets whether the entity should collide with anything. Keeps the solid type intact and only toggles the FSOLID_NOT_SOLID flag, so the solid type still reads the same afterwards.

Arguments

Examples

Entity:SetNotSolid – Sets whether the entity should collide with anything. Keeps the solid type intact and only toggles the FSOLID_NOT_SOLID flag, so the solid type still reads the same afterwards.