dongju.jeong Posted March 17, 2020 Share Posted March 17, 2020 When the duration of multiple particles is over, I want to delete the root node automatically. (particles has one cycle) How can I check? Link to comment
morbid Posted March 18, 2020 Share Posted March 18, 2020 Hello Dongju, Deletion is performed with World::get()->removeNode(node); If don't have a pointer to this node but know its name you can use getNodeByName("node_name"); and then delete it. In 2.10 you can use new method deleteLater for this. Thanks. 1 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
dongju.jeong Posted March 19, 2020 Author Share Posted March 19, 2020 (edited) I want to check moment the many of child particle nodes of one root node are finished. and I will remove root node at that time. How do I check the playback status of multiple particles? Edited March 19, 2020 by dongju.jeong Link to comment
Recommended Posts