When using the AnimateMD2 command can anyone explain what the speed parameter actually equates to?
I initially thought it might be the frame increment per UpdateWorld but it appears independant of this.
Also is there a way to query XYZ coords of verts in a MD2 animation?
I want to make a simple brawler with swords and have a 3D line/sphere intersect routine to test for sword damage. It'd be great if I could query the position of verts at either end of the blade to form my 3D line.
GetSurface doesn't work with MD2s so I suspect it's not possible.
Shame if this is the case. MD2 is a nice simple and efficient format for hobbyist developers. If only it had a little more support in Blitz3D.
BTW, my plan Z is to store the vert coords in a data file and reference them in-game. Could get very messy though with interpolation. :(
I initially thought it might be the frame increment per UpdateWorld but it appears independant of this.
Also is there a way to query XYZ coords of verts in a MD2 animation?
I want to make a simple brawler with swords and have a 3D line/sphere intersect routine to test for sword damage. It'd be great if I could query the position of verts at either end of the blade to form my 3D line.
GetSurface doesn't work with MD2s so I suspect it's not possible.
Shame if this is the case. MD2 is a nice simple and efficient format for hobbyist developers. If only it had a little more support in Blitz3D.
BTW, my plan Z is to store the vert coords in a data file and reference them in-game. Could get very messy though with interpolation. :(