coordinates of vertices in animated meshes

Blitz3D Forums/Blitz3D Programming/coordinates of vertices in animated meshes

I have a problem, I would like to obtain positions x, y, z, of vertice animated. I have written east code, but it does not work. Somebody like making it, greetings.

;--------------------------------------------------------
Graphics3D 640,480,16,2
SetBuffer BackBuffer()

cam = CreateCamera()
MoveEntity cam,0,35,-50
luz = CreateLight(2)
MoveEntity luz,0,35,-50

personaje = LoadAnimMesh("personaje.b3d")
piel = FindChild(personaje,"Emale02")

Animate piel,1,0.3

child = GetChild(personaje,1)
superf = GetSurface(child,1)

While Not KeyHit(1)

TFormPoint VertexX(superf,1),VertexY(superf,1),VertexZ(superf,1),piel,0

UpdateWorld()
RenderWorld()

Text 10,10,VertexX(superf,1) + " " + VertexY(superf,1) + " " + VertexZ(superf,1)
Text 10,30,TFormedX() + " " + TFormedY() + " " + TFormedZ()

Flip()
Wend
End