GetVertex
Category:
Objects / Vertices
Since engine version:
5.1 OC
Description
Returns a coordinate of the specified vertex (see
DefCore.txt
). Coordinates are relative to the object center.
Syntax
int
GetVertex(
int
index,
int
data);
Parameters
index:
Index of the vertex to be changed.
data:
Value
Meaning
VTX_X
X coordinate of the vertex.
VTX_Y
Y coordinate of the vertex
VTX_CNAT
CNAT value
of the vertex.
VTX_Friction
Friction of the vertex.
See also:
GetVertexNum
,
SetVertex
jwk, 2002-08
isilkor, 2009-09