Hey guys,
I’m writing an export script right now. Here is a snippet:
for face in mesh.faces:
file.write("<Face>
")
if len(face.v) == 3:
v1, v2, v3 = face.v
print "<Vertex %f,%f,%f>" % tuple(v1.co)
print "<Normal %f,%f,%f>" % tuple(v1.no)
However, this prints out the local coordinates of each Vertex inside an object, instead of the global coordinates.
How would I access the global coordinates?
Thanks in advance