gugus
05-06-2008 12:37:01
I am doing some stuff with a class which inherit from Actor class(as here:http://www.nxogre.org/Inheriting_Actor_and_forcing_NxOgre_to_use_your_own_Body_type_class)
I made a new Scene class which inherite of NxOgre::Scene and i create a new function in order to create this new type of actor. Is it the right way of doing it?
If I just do new Actor, will NxOgre keep track of my Actor?(i guess not)
And how can I delete this kind of actors?I made a new function in my new Scene class,but will it be OK if i just use the destructor?
I made a new Scene class which inherite of NxOgre::Scene and i create a new function in order to create this new type of actor. Is it the right way of doing it?
If I just do new Actor, will NxOgre keep track of my Actor?(i guess not)
And how can I delete this kind of actors?I made a new function in my new Scene class,but will it be OK if i just use the destructor?