YoonMo.Kim Posted January 26, 2021 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.
silent Posted January 26, 2021 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
cash-metall Posted January 26, 2021 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")
YoonMo.Kim Posted January 26, 2021 Author Posted January 26, 2021 I asked you a simple question. Thank you!
Recommended Posts