This may seem silly, but do the vertexx,vertexy, and vertexz commands return coords in global or model space?
vertex pos
Blitz3D Forums/Blitz3D Beginners Area/vertex pos They are the original mesh coordiates. Any EntityScaling, Rotation or Position does not affect VertexX/Y/Z.
To convert the coordinates to globals use:
TFormPoint VertexX(surface, index), VertexY(surface, index), VertexZ(surface, index), mesh, 0
And then read TFormedX(), TFormedY(), TFormedZ().
To convert the coordinates to globals use:
TFormPoint VertexX(surface, index), VertexY(surface, index), VertexZ(surface, index), mesh, 0
And then read TFormedX(), TFormedY(), TFormedZ().
Thanks, b32. This helps alot