rohit.gonsalves Posted December 30, 2019 Posted December 30, 2019 Hello there, I have one ObjectText node object in my scene. I want to access it from Script. ObjectText text56Big; int iNodeIndex = engine.editor.findNode("56_Big"); Node node1 = engine.editor.getNode(iNodeIndex); //How Can I cast this node to ObjectText? text56Big = ?? I want to cast this node to ObjectText and wanna change the text at runtime. Please suggest. Rohit
silent Posted December 31, 2019 Posted December 31, 2019 Hi Rogit, More likely you need to use node_cast for that task. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts