S: Getting info. of anim. seq.?
Blitz3D Forums/Blitz3D Beginners Area/S: Getting info. of anim. seq.?
| ||
Hi all, Without given any info., is it possible to get sequence info. of an animated models? (e.g. 0-40 is idle, 41-46 run, etc.) Thanks in advance |
| ||
You can get the length of the sequence using "animlength" but how is blitz supposed to know that a sequence is a run sequence or a jump sequence or any other sequence, it may not even be for a humanoid creature... |
| ||
Thanks, Matty. I tried n = AnimLength(dragon) ;dragon.bb use dragon.md2 This return -1 n = AnimLength(player_model) ;castle.bb use mario.x This return 20 Does this mean that AnimLength could not be used with md2? |
| ||
I think there may be a similar command for MD2 models, have a look in the command reference. |
| ||
What's with putting an "S" before every thread? |
| ||
@Matty: "MD2AnimLength" should be used. :D @Gfk: Just test "search" function. It turns out that "S:" and "OT" was ignored during searching :D |