08 Aug 2013, 16:00
Hey guys!
I have another question for you
This time, I want to create nodes just from my logic class. I want to do this because the amount of nodes I need can vary greatly and I want to be able to dynamically create and manipulate them during runtime.
I tried out some ways to accomplish this, but unfortunately I was quite unsuccessful.
I expected these lines to work:
What exactly is the deal with this classname String?
I tried typing "Logic::PlaneGeometryNode" or getting the classname in some other way but didn't manage to do so.
Is this the way to go or is there any other way I could make this work?
Your help is very much appreciated! Thank you
I have another question for you
This time, I want to create nodes just from my logic class. I want to do this because the amount of nodes I need can vary greatly and I want to be able to dynamically create and manipulate them during runtime.
I tried out some ways to accomplish this, but unfortunately I was quite unsuccessful.
I expected these lines to work:
Logic::PlaneGeometryNode pgn ;
AddGraphNode(pgn.GetReference(root->CreateNode("SOME_CLASS_NAME")));
What exactly is the deal with this classname String?
I tried typing "Logic::PlaneGeometryNode" or getting the classname in some other way but didn't manage to do so.
Is this the way to go or is there any other way I could make this work?
Your help is very much appreciated! Thank you