I want to get the surface of an entity so I can read out the VertexX, etc.
When I was using miniB3d I cast lyne_surf = GetSurface( TMesh(lyne), 1 ) and it worked fine.
But Blitz3D does not allow this, and it throws up a MAV on the TFormPoint line.
Help. :-)
lyne = Make_Line_No_Triangles( ship\constant, A_Ref_Ship(ship\constant)\A_Lines_V0[kk], A_Ref_Ship(ship\constant)\A_Lines_V1[kk] , scale)
lyne_surf = GetSurface( lyne, 1 )
;vertices
;--------
For vert% = 0 To 12-1
TFormPoint VertexX(lyne_surf, vert), VertexY(lyne_surf, vert), VertexZ(line_surf, vert), lyne, 0 ; To the real world
VertexCoords all_lines_surface, kk*12 + vert, TFormedX(), TFormedY(), TFormedZ()
Next