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
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