This is result:

Small FPS, and wheel is in motion - joint isn't in center of wheel.

High FPS (or wheel isn't in motion) - joint is in center of wheel so all works good.
I think, problem is cause by updateAbsolutePosition() function.


Code: Select all
// Here manual update Node position by setPosition...
IBoneSceneNode* Bone = Node->getJointNode("our_bone_eg_head");
ISceneNode* tempNode = Bone;
std::vector<ISceneNode*> Parents;
while(Node != tempNode)
{
tempNode = tempNode->getParent();
Parents.push_back(tempNode);
}
for(int i = Parents.size() - 1; i >= 0; i--)
Parents[i]->updateAbsolutePosition();
Parents.clear();
// Here manual update Bone position by setPosition...