Killer.Penguin Posted September 6, 2013 Share Posted September 6, 2013 I just couldn't find a way to access MeshSkinned class from a node. Any quick pointer? T_T Link to comment
silent Posted September 6, 2013 Share Posted September 6, 2013 Hi, If I understand you correctly, you can find your ObjectMeshSkinned node in node's childs via Node::findChild() and then use the node_cast function to cast needed node type to get the access to the specific Class functions. Thanks! 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
Killer.Penguin Posted September 6, 2013 Author Share Posted September 6, 2013 Took me 6 hours trying to find how to do just that. So it's " ObjectMesh mesh = node_cast(node);" Thank you. :) Link to comment
Recommended Posts