Animated 3D mesh.

Blitz3D Forums/Blitz3D Programming/Animated 3D mesh.

Im trying this...

Function load_Tank(File_Name$)
	Local Path$="\models"+file_name$+""
	t.tank = New tank
	;Load the idle frames.
	DebugLog path$+"B_Idle.b3d"
	t\Base=LoadAnimMesh(path$+"B_Idle.b3d")
		;Now Add the extra animations.
		LoadAnimSeq(t\Base,path$+"B_moving.b3d")
	
	t\Turret=LoadAnimMesh(path$+"T_Idle.b3d")
		;Now load the segments.
		LoadAnimSeq(t\Turret,path$+"T_Fire.b3d")
		LoadAnimSeq(t\Turret,path$+"T_Forward.b3d")
		LoadAnimSeq(t\Turret,path$+"T_Back.b3d")
		LoadAnimSeq(t\Turret,path$+"T_left.b3d")	
		LoadAnimSeq(t\Turret,path$+"T_Right.b3d")
		
	t\x=0
	t\y=0
	t\z=0
	
	t\speed=.1
	t\acceleration=.1
	
	PositionEntity t\base,t\x,t\y,t\z
	PositionEntity t\turret,t\x,t\y,t\z
	
	EntityParent t\turret,t\base
	
	
End Function


I have about 6 or 7 Animated mesh's some for the base of a tank and some for the turret of the tank.

From what I read in the docs I should be able to load all those animated mesh's into the one animated mesh and then jusy animate the segments I want.

But I seem to have hit a wall in that its erm not working. It stops on the first loadanimseq call.

No need for a reply here I got it.

Could you post the solution?

yeh please do so

yeh please do so

di you just do what you needed after updateworld, if your doing what i think your doing?