QueryPhys
From GMod Wiki
| Third-party Library - gm_queryphys.dll | |
| Name | Queryphys |
| Description: | |
| A method of getting the vertexes of a physics object. | |
| Download | gm_queryphys.dll |
| Source | gm_queryphy svn |
| Author | haza55 |
Functions
| Syntax | GetConvexCount( PhysObj ) |
|---|---|
| Description: | |
| Returns the number of convexs. | |
| Returns: | Number of convexs |
| Syntax | GetConvexMesh(convexIndex)( PhysObj ) |
|---|---|
| Description: | |
| Returns a table of triangles. | |
| Returns: | Table of Triangles. |
| Syntax | RebuildFromConvexs( Vector position,Angle Angle,Integer mass,Number damping,Number rotDamping,Number inertia,Number rotInertiaLimit,Table convexes ) |
|---|---|
| Description: | |
| Rebuilds a PhysObj with the provided convexes. | |
| Returns: | PhysObj with the provided convexes |
Notes
- This module is a way of getting the vertexes of a physics object.