help for bones!!!

Blitz3D Forums/Blitz3D Programming/help for bones!!!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

how i can read the positions of the bones in animation?
i use a FindChild() and i read a name of the bone


For n =0 To numero_bones
bones_new(n)=FindChild(mesh,nome_bones$(n))
next


for fra=0 to AnimLength(mesh)
SetAnimTime mesh,fra,0

angolo_bone_x2#(n,fra)=entitypitch#(bones(n,num))
angolo_bone_y2#(n,fra)=entityyaw#(bones(n,num))
angolo_bone_z2#(n,fra)=entityroll#(bones(n,num))
pos_bone_x2#(n,fra)=entityx#(bones(n,num))
pos_bone_y2#(n,fra)=entityy#(bones(n,num))
pos_bone_z2#(n,fra)=entityz#(bones(n,num))

next

but i have a problem
i can position a cube for every bones

thanks

Mongia