Garry's Mod Wiki
Description
Initializes the physics mesh of the entity from a triangle soup defined by a table of vertices. The resulting mesh is hollow, may contain holes, and always has a volume of 0.
While this is very useful for static geometry such as terrain displacements, it is advised to use Entity:PhysicsInitConvex or Entity:PhysicsInitMultiConvex for moving solid objects instead.
Entity:EnableCustomCollisions needs to be called if you want players to collide with the entity correctly.
Arguments
Alternatively, you can input a table consisting of MeshVertex structure (only the pos element is taken into account).
Returns
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 four times a day. Edits and history are not available.
Last Parsed: Loading...