Garry's Mod Wiki


table CreatePhysCollidesFromModel( string modelName )


Creates PhysCollide objects for every physics object the model has. The model must be precached with util.PrecacheModel before being used with this function.


1 string modelName
Model path to get the collision objects of.


1 table
Table of PhysCollide objects. The number of entries will match the model's physics object count. See also Entity:GetPhysicsObjectCount. Returns no value if the model doesn't exist, or has not been precached.

Page Links

Special Pages



Render Time: 47ms

DB GetPage 5
Generate Html 4
SaveChanges (1) 24
Render Body 0
Render Sidebar 11