Garry's Mod Wiki
Description
Initializes the physics mesh of the entity with a convex mesh defined by a table of points. The resulting mesh is the of all the input points. If successful, the previous physics object will be removed.
This is the standard way of creating moving physics objects with a custom convex shape. For more complex, concave shapes, see Entity:PhysicsInitMultiConvex.
You may be expected to call Entity:SetSolid with desired solid type before calling this function.
You can use the following workaround for movement, though clientside collisions will still be broken.
Issue Tracker: 5060
Arguments
Returns
Example
Creates a "box" physics mesh for the entity.
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...