dubreu_j Posted October 20, 2015 Share Posted October 20, 2015 Hello, I am currently loading meshes using .node files with World::loadNode but in a part of the code, this node can be a Skinned or a Static mesh. So when i have my NodePtr, how can i know which type using? Thanks Link to comment
maxi Posted October 20, 2015 Share Posted October 20, 2015 Hi Jean-Baptiste, Use can use Node::getTypeName to get object name or Node::getType to get object enum id. (for ObjectMeshSkinned id = 34, for ObjectMeshStatic = 31). Link to comment
dubreu_j Posted October 20, 2015 Author Share Posted October 20, 2015 Ok thanks it works :) Sorry i missed that in the documentation Link to comment
Recommended Posts