Topic: [QUESTION] May I add a behavior using another behavior?

The project is a behavior to start a new behavior when a collision between parent object and objects specified in obj happens. More objects are separated by semicolon (;).
This will lead to the possibility to attach a behavior to an object when particular condition are verified.

Re: [QUESTION] May I add a behavior using another behavior?

You could call this to add a behavior dynamically in c++ :

    MBehaviorManager * behaviorManager = MEngine::getInstance()->getBehaviorManager();
    MBehaviorCreator * behaviorCreator = behaviorManager->getBehaviorByName("myBehaviorName");
    object->addBehavior(behaviorCreator->getNewBehavior(object));

Re: [QUESTION] May I add a behavior using another behavior?

thanks! This is going to be very useful!