Garry's Mod Wiki

Revision Difference

PhysObj:GetMesh#519006

<function name="GetMesh" parent="PhysObj" type="classfunc"> <description>Returns the physics mesh of the object which is used for physobj-on-physobj collision.</description> <realm>Shared</realm> <rets> <ret name="" type="table">Table of <page>MeshVertex</page>s where each three vertices represent a triangle. Returns nil if the physics object is a sphere.</ret> <ret name="" type="table">Table of <page>Structures/MeshVertex</page>s where each three vertices represent a triangle. Returns nil if the physics object is a sphere.</ret> </rets> </function>