.B3D ANIMATION

Blitz3D Forums/Blitz3D Beginners Area/.B3D ANIMATION

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.

Thanks but the animations do work. It's changing the sequence thats the problem.

If KeyDown(200) ; move forward

If AnimSeq(player)=0 Animate player,1,.7,1,5 ;Change anim sequence


MoveEntity player,0,0,-.7 ;move the player
PositionEntity campivot,px,py+14,pz+15 ;move the camera

Else
If AnimSeq(player)=1 Animate player,1,.3,0;change anim sequence

EndIf

Sequence 0 player in idle mode legs not moving but torso rotates as if looking around.
Sequence 1 player walking
When you leave go of the forward arrow key the player returns to sequence 0, which it does but the legs are still in a walking position, which is part of sequence 1.
Hope this makes sense. HELP ANYBODY
>Thanks Carpman