<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - [Plugin] LookAt for Entity]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=81</link>
		<description><![CDATA[The most recent posts in [Plugin] LookAt for Entity.]]></description>
		<lastBuildDate>Tue, 21 Jun 2011 16:36:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=407#p407</link>
			<description><![CDATA[<div class="quotebox"><cite>anael wrote:</cite><blockquote><p>I&#039;ll try to send you that,<br />tell me by mail why you are not able to use visual anymore ?</p></blockquote></div><p>I sent the mail , do you received it ? (asking because i&#039;m using another mail client than usual, just checking)</p><p>Anyway my problem is still the same as here : <a href="http://forum.maratis3d.com/viewtopic.php?id=90">http://forum.maratis3d.com/viewtopic.php?id=90</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 21 Jun 2011 16:36:25 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=407#p407</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=406#p406</link>
			<description><![CDATA[<p>&quot;addBehavior&quot; is indispensable to add a behavior to the engine.</p><p>The first argument is the name of the behavior (as it will appear in maratis interface).<br />The second argument is a filter, for example, if your behavior should be only applying to a Camera, you should set &quot;M_OBJECT3D_CAMERA&quot;. &quot;M_OBJECT3D&quot; means it&#039;s available for all 3d objects.<br />The third argument is a pointer to a function returning a new behavior.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 20 Jun 2011 19:35:34 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=406#p406</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=404#p404</link>
			<description><![CDATA[<p>In &quot;SimpleGamePlugin.cpp&quot;</p><p>add </p><div class="quotebox"><blockquote><p>behaviorManager-&gt;addBehavior(LookAt::getStaticName(), M_OBJECT3D, LookAt::getNew);</p></blockquote></div><p>is indispensable ? or just optional ?</p>]]></description>
			<author><![CDATA[dummy@example.com (Alinor)]]></author>
			<pubDate>Mon, 20 Jun 2011 16:30:45 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=404#p404</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=400#p400</link>
			<description><![CDATA[<p>I&#039;ll try to send you that,<br />tell me by mail why you are not able to use visual anymore ?</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 20 Jun 2011 08:10:43 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=400#p400</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=395#p395</link>
			<description><![CDATA[<p>Can anyone compile this for me and send me the dll ? as i cant use visual studio for now i can&#039;t do it myself &gt;&lt;</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Sun, 19 Jun 2011 17:56:31 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=395#p395</guid>
		</item>
		<item>
			<title><![CDATA[[Plugin] LookAt for Entity]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=311#p311</link>
			<description><![CDATA[<p><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/fsd.gif" alt="PunBB bbcode test" /></span></p><p>We gonna take the &quot;How to create a game plugin&quot; as base.<br /><a href="http://www.maratis3d.org/?p=500">http://www.maratis3d.org/?p=500</a></p><p>In your visual c++ project, add these two files (they are in maratis source code folder) :</p><p>../Maratis/Common/MBehaviors/MBLookAt.cpp<br />../Maratis/Common/MBehaviors/MBLookAt.h</p><p>Then, in SimpleGamePlugin.cpp, add :</p><p>#inculde &quot;MBLookAt.h&quot;</p><p>And after the line <br />behaviorManager-&gt;addBehavior(MyBehavior::getStaticName(), M_OBJECT3D, MyBehavior::getNew);</p><p>Add<br />behaviorManager-&gt;addBehavior(MBLookAt::getStaticName(), M_OBJECT3D_ENTITY, MBLookAt::getNew);</p><p>Compile, Generate &amp; Enjoy</p><p><span class="postimg"><img src="http://img98.imageshack.us/img98/620/image182339.jpg" alt="PunBB bbcode test" /></span><br /><span class="postimg"><img src="http://img130.imageshack.us/img130/1825/image18230.jpg" alt="PunBB bbcode test" /></span></p><p>(Thanks anael for this <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" />)</p><p>Edit : i screwed up a step when i last edited, corrected now <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 26 Apr 2011 17:11:54 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=311#p311</guid>
		</item>
	</channel>
</rss>
