[SOLVED] Related to loadNode()


Recommended Posts



As shown in the image shown, I wonder if the node type called up when the loadNode() function is nodeReference or ObjectMeshStatic.

Link to post

Hi! you can check 

auto node = World::loadNode("bullet.node");
Log::message("node type: %s\n", node->getTypeName());

i suppose it s ObjectMeshStatic inside bullet.node


if you want to use NodeReference - use NodeReference::create("bullet.node")

Link to post

I asked you a simple question. Thank you!

Link to post
  • silent changed the title to [SOLVED] Related to loadNode()