Page 1 of 1

[fixed] 04.Movement ninja's walking behavior wrong.

Posted: Mon Oct 05, 2009 12:10 pm
by gbox
in 1.6 version the example 04.Movement ninja's walking behavior was wrong.

'ninja animation ranges.txt' files preserved (1-14) that comes with walking behavior.

In version 1.6 (0-13) shall rightly need to come to.

CB3DMeshFileLoader.cpp of the 614 lines of code, "Key-> frame = (f32) frame-1;" is the cause.

So 14 frames to 13 frames enter the data.

1.5 version of the "Key-> frame = (f32) frame;" I wonder why the above modifications.

This part is a bug or not?

Posted: Wed Oct 07, 2009 10:06 pm
by CuteAlien
Thanks for reporting.

The change in CB3DMeshFileLoader was necessary because in Irrlicht animations start with 0 and not with 1 unlike in b3d.
But the example 04 needed fixing by setting the animation range from 0-13 now. It's fixed now in svn in the 1.6 branch.