.B3D in Blitz3d

Blitz3D Forums/Blitz3D Programming/.B3D in Blitz3d

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

hi all,

I've downloaded the demo version of MilkShape, animated my model with the Joint tool and exported as a .B3D file.
but when i load it in Blitz3d with LoadAnimMesh() and
animate it with Animate(), it doesn't animate....
please help me : what do i need to do?

here's the code that i'm using to animate my model:

Graphics3D 640,480

SetBuffer BackBuffer()

Global test = LoadAnimMesh("anim.b3d") 

MoveEntity test,.2,.05,25
light = CreateLight(2)
PositionEntity light,3,10,30
LightColor light,255,250,250
LightRange light,14
AmbientLight 200,200,200
ScaleEntity test,.25,.25,.25
camera = CreateCamera()

Animate(test,1,.47,0,3)

While Not KeyHit(1)


TurnEntity test,0,.15,0

RenderWorld()
UpdateWorld()

Flip
Wend

FreeEntity test
FreeEntity camera
FreeEntity light 
End