Garry's Mod Wiki

PhysObj:GetMesh

  table PhysObj:GetMesh()

Description

Returns the physics mesh of the object which is used for physobj-on-physobj collision.

Returns

1 table
Table of MeshVertex structures where each three vertices represent a triangle. Returns nil if the physics object is a sphere.