Before I attach it, if I move it using gravity it collides with a box and I get feedback, but once it gets attached it collides with nothing:
Code: Select all
irr::scene::IBoneSceneNode* foot = node_ninja->getJointNode("Joint22");
foot->addChild(node_collide_foot_r);
Is this right for updating it each cycle?
Code: Select all
node_collide_foot_r->animateJoints(true);
node_collide_foot_r->updateAbsolutePosition();