Text Follwing A Mesh

Blitz3D Forums/Blitz3D Programming/Text Follwing A Mesh

I've been trying to make text follow a mesh for about a day and a half now, trying different ideas but none seem to work :( Can some1 explain to me what I would do to make text follow a mesh. I've tried making it a type and that didn't work, my freind says i should make an invisible sprite follow the mesh and then the text follow the sprite. Would that be a good idea?

Camera =your camera. Entity=Mesh to anchor text to, txt=text etc.
function printMesh(Camera,Entity,txt$,centreX=false,centreY=false)
    cameraproject camera,entityX(entity,true),entityY(entity,true),entityZ(entity,true)
    tx#=projectedX()
    if tx>0 and tx<graphicsWidth()
        ty#=projectedY()
        if ty>0 and ty<graphicsheight()
              text tx,ty,txt$,centreX,centreY
        endif
    endif
end function


Define "follow." Do you mean the text will wrap around the mesh, or simply that the text is displayed on top of the mesh?

Is this what you mean?

http://www.blitzbasic.com/codearcs/codearcs.php?code=13