I have finished creating a class that will hold some models, now i want to create a instance of it, but when i do it i break the engine and get a segment fault. For what i know the class has no errors, it inherits from LogicComponent. When i add the class to the main app i do the following.-
1.- In the main app i create a pointer to my class
2.- Also create a node pointer for the class Model, etc
So inside a function i just do.-
Or should i use the new keyword? I dont think so, but maybe
myclass = new Myexampleclass();
Thank you in advance !!! You great ones !!