Sword = Core->Smgr->addAnimatedMeshSceneNode( mesh, Node->getJointNode( "Bip01 R Hand" ) );
This works as expected, the problem is that the swords position is not updated in time. It is delayed. I drew the debugData of the skeleton but the debug Lines are updated correctly. Only my sword is late...
Hopefully someone understands my explanation. Thank you in advance for any help
I ran into the same problem and tried to fix it with the UpdateAbsoluteTransformationAndChildren codes.
However, it still doesn't work if I have animators attach to the character node.
After looking through the source code (v 1.5), I found that the problem is there because somehow in CBoneSceneNode.cpp line 77, the line with "updateAbsolutePosition();" is being commented out.
Seems like the problem is solved by uncommenting that line and recompile the irrlicht engine.
Is there any particular reason that the line is being commented out?