PhysObj/GetMeshConvexes

From Garry's Mod
Jump to: navigation, search
 PhysObj:GetMeshConvexes( )

Description

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

Returns

table

Table of MeshVertex structures where each MeshVertex structure is an independent convex mesh and each three vertices represent a triangle. Returns nil if the physics object is a sphere.
Personal tools
Navigation