Garry's Mod Wiki

Revision Difference

Entity:SetCustomCollisionCheck#526533

<function name="SetCustomCollisionCheck" parent="Entity" type="classfunc"> <description>Marks the entity to call <page>GM:ShouldCollide</page>.</description> <description>Marks the entity to call <page>GM:ShouldCollide</page>. Not to be confused with <page>Entity:EnableCustomCollisions</page>.</description> <realm>Shared</realm> <args> <arg name="enable" type="boolean">Enable or disable the custom collision check</arg> </args> </function>