<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - [QUESTION] May I add a behavior using another behavior?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=670&amp;type=atom"/>
	<updated>2013-05-17T18:01:17Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=670</id>
		<entry>
			<title type="html"><![CDATA[Re: [QUESTION] May I add a behavior using another behavior?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4173#p4173"/>
			<content type="html"><![CDATA[<p>thanks! This is going to be very useful!</p>]]></content>
			<author>
				<name><![CDATA[firelite]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1537</uri>
			</author>
			<updated>2013-05-17T18:01:17Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4173#p4173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [QUESTION] May I add a behavior using another behavior?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4171#p4171"/>
			<content type="html"><![CDATA[<p>You could call this to add a behavior dynamically in c++ :</p><div class="codebox"><pre><code>    MBehaviorManager * behaviorManager = MEngine::getInstance()-&gt;getBehaviorManager();
    MBehaviorCreator * behaviorCreator = behaviorManager-&gt;getBehaviorByName(&quot;myBehaviorName&quot;);
    object-&gt;addBehavior(behaviorCreator-&gt;getNewBehavior(object));</code></pre></div>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-05-17T15:22:18Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4171#p4171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[QUESTION] May I add a behavior using another behavior?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4168#p4168"/>
			<content type="html"><![CDATA[<p>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 (;).<br />This will lead to the possibility to attach a behavior to an object when particular condition are verified.</p>]]></content>
			<author>
				<name><![CDATA[firelite]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1537</uri>
			</author>
			<updated>2013-05-16T17:13:23Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4168#p4168</id>
		</entry>
</feed>
