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

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
gbox
Posts: 37
Joined: Mon May 01, 2006 3:41 am
Location: jeonju, korea
Contact:

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

Post 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?
http://cafe.naver.com/jcga

professor of Jelabukdo Game Engine Academy
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply