Garry's Mod Wiki

PhysObj:GetMeshConvexes

  table PhysObj:GetMeshConvexes()

Description

Returns all convex physics meshes of the object. See Entity:PhysicsInitMultiConvex for more information.

Returns

1 table
Table of Structures/MeshVertexs where each Structures/MeshVertex is an independent convex mesh and each three vertices represent a triangle. Returns nil if the physics object is a sphere.