YoonMo.Kim Posted January 26, 2021 Share Posted January 26, 2021 As shown in the image shown, I wonder if the node type called up when the loadNode() function is nodeReference or ObjectMeshStatic. Link to comment
silent Posted January 26, 2021 Share Posted January 26, 2021 YoonMo.Kim Do you want to find out which node type is the current loaded .node file? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
cash-metall Posted January 26, 2021 Share Posted January 26, 2021 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 comment
YoonMo.Kim Posted January 26, 2021 Author Share Posted January 26, 2021 I asked you a simple question. Thank you! Link to comment
Recommended Posts