Jump to content

[SOLVED] Related to loadNode()


photo

Recommended Posts

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
image.png

 

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

Link to comment
  • silent changed the title to [SOLVED] Related to loadNode()
×
×
  • Create New...