While first printf return 1752395105 witch shud be correct according to MAKE_IRR_ID if im not wrong.
node->getType() display 1700951395 witch shud not be correct
So either i'm trying to printf incorrect type or node->getType() isn`t returning something correctly because of my mistake of understanding how something works.
Code: Select all
case scene::ESNT_ANIMATED_MESH:
// Because the selector won't animate with the mesh,
// and is only being used for camera collision, we'll just use an approximate
// bounding box instead of ((scene::IAnimatedMeshSceneNode*)node)->getMesh(0)
printf ("Ids: %u\n", scene::ESNT_ANIMATED_MESH);
printf ("Ids: %u\n", node->getType());
selector = smgr->createTriangleSelectorFromBoundingBox(node);
break;
MAKE_IRR_ID and getType() should return u32 , correct?
Question 2
Why the results are printf-ed differently but still the 'case scene::ESNT_ANIMATED_MESH:' is triggered correctly, what am i doing wrong?