Garry's Mod Wiki


void Entity:CollisionRulesChanged()


Declares that the collision rules of the entity have changed, and subsequent calls for GM:ShouldCollide with this entity may return a different value than they did previously.

This function must not be called inside of <!--a physics hook, including -->GM:ShouldCollide. Instead, it must be called in advance when the condition is known to change.
Failure to use this function correctly will result in a crash of the physics engine.

Page Links

Special Pages



Render Time: 26ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 12