animation code

Blitz3D Forums/Blitz3D Beginners Area/animation code

Gord(Posted 2004) [#1]
I have a 3d human model which has 300 frames of animation sequences. When i use the animate function it goes through its entire repetoire, which is impressive but not what I require.Frames 1 to 14 are walking. How can I program these frames only?


Yan(Posted 2004) [#2]
model = LoadAnimMesh(mesh$)
walk = ExtractAnimSeq(model, 1, 14)
Animate model, 1, 1, walk, 10
YAN


scribbla(Posted 2004) [#3]
same as above

walk = ExtractAninSeq(mymodel, start frame , end frame)
Animate mymodel , loop , play back rate , anim cycle, tween between anim cycles


Mustang(Posted 2004) [#4]
http://www.blitzbasic.com/b3ddocs/command.php?name=ExtractAnimSeq&ref=3d_cat