I've got a problem I can't work out.
I'm trying to make an option to change your coat, and the coat has bones alike to the player bones.
I want to attach the coat sleeve bone to the node arm bone.
I've tried the following:
Code: Select all
IBoneSceneNode* test1 = coatNode->getJointNode("Sleeve1");
IBoneSceneNode* test2 = node->getJointNode("Arm1");
test1->addParent(test2);