If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
lamer139
- Posts: 3
- Joined: Wed Nov 15, 2006 12:25 pm
Post
by lamer139 »
I use this code
Code: Select all
node = smgr->addAnimatedMeshSceneNode(smgr->getMesh("123.x"));
node->setFrameLoop(0,10);
but I don't see animation
why?
Thanks
-
Redemption
- Posts: 13
- Joined: Sat Nov 11, 2006 1:31 pm
Post
by Redemption »
Try multiplying the frames by 160 and setting the animationspeed to 4800 (30 fps * 160).
-
Luke
- Admin
- Posts: 449
- Joined: Fri Jul 14, 2006 7:55 am
- Location: Australia
-
Contact:
Post
by Luke »
also don't use a start frame of 0, use 1
eg:
node->setFrameLoop(1,10);
-
lamer139
- Posts: 3
- Joined: Wed Nov 15, 2006 12:25 pm
Post
by lamer139 »
It does not work
It can occurs
Because I did converting from .3ds to .x, can't it ?
-
Luke
- Admin
- Posts: 449
- Joined: Fri Jul 14, 2006 7:55 am
- Location: Australia
-
Contact:
Post
by Luke »
I have no idea what you used to make the mesh, covert the mesh, etc.
But I might be able to help you if you post your .3ds and .x meshes.