<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Rayhit point]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=541</link>
		<description><![CDATA[The most recent posts in Rayhit point.]]></description>
		<lastBuildDate>Tue, 15 Jan 2013 09:17:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3403#p3403</link>
			<description><![CDATA[<p>How convenient that I have just began a programming course in school then. <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Tue, 15 Jan 2013 09:17:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3403#p3403</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3402#p3402</link>
			<description><![CDATA[<p>The code is corrected on svn, but I won&#039;t build it before the next version is ready,<br />you can build it yourself by installing a compiler (visual studio for windows, or gcc for unix), python and scons and by getting the code from svn.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 15 Jan 2013 09:05:36 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3402#p3402</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3390#p3390</link>
			<description><![CDATA[<p>Can you write me what point Apos, Bpos is compared to so that I can make a table and make a if true statement then hit lets say weapon_salesman?</p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Mon, 14 Jan 2013 18:57:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3390#p3390</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3388#p3388</link>
			<description><![CDATA[<p>That&#039;s alright. Hope we get it soon. <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Mon, 14 Jan 2013 16:07:05 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3388#p3388</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3383#p3383</link>
			<description><![CDATA[<p>Your script is good, the problem comes from Maratis, I just found a bug.<br />The 3rd argument with the object was not implemented correctly in the code... oups</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 13 Jan 2013 23:53:03 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3383#p3383</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3382#p3382</link>
			<description><![CDATA[<p>Hm, the distance is dx 100 and it works when i&#039;m leaving out the salesman and aiming at something with physics?</p><p>And when I shoot the salesman is between a and c but it doesn&#039;t register. :s</p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Sun, 13 Jan 2013 22:35:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3382#p3382</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3379#p3379</link>
			<description><![CDATA[<p>if Cpos is far away enough it should be</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 13 Jan 2013 21:32:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3379#p3379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3378#p3378</link>
			<description><![CDATA[<p>A = getObject(&quot;A&quot;)<br />C = getObject(&quot;C&quot;)</p><p>Apos = getPosition(A)<br />Cpos = getPosition(C)</p><p>and then this code:</p><br /><p>point = rayHit(Apos, Cpos, weapon_salesman)<br />&nbsp; &nbsp; <br />if onKeyDown(&quot;MOUSE_BUTTON1&quot;) and firing == 1 and derringer == true&nbsp; then<br />&nbsp; &nbsp; &nbsp; &nbsp; if point then<br />&nbsp; &nbsp; &nbsp; &nbsp; print(&quot;you hit weapon salesman&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; end<br />elseif onKeyDown(&quot;MOUSE_BUTTON1&quot;) and firing == 1 and shotgun == true&nbsp; then<br />&nbsp; &nbsp; &nbsp; &nbsp; if point then<br />&nbsp; &nbsp; &nbsp; &nbsp; print(&quot;you hit weapon salesman&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; end<br />end</p><br /><p>So is this code right?</p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Sun, 13 Jan 2013 20:45:44 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3378#p3378</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3376#p3376</link>
			<description><![CDATA[<p>You are awesome. Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Sun, 13 Jan 2013 20:08:02 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3376#p3376</guid>
		</item>
		<item>
			<title><![CDATA[Re: Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3375#p3375</link>
			<description><![CDATA[<p>You add the object you want to test as last parameter :</p><div class="codebox"><pre><code>point = rayHit(start, end, object)
if point then
    -- you hit &quot;object&quot;
end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 13 Jan 2013 18:24:21 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3375#p3375</guid>
		</item>
		<item>
			<title><![CDATA[Rayhit point]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3364#p3364</link>
			<description><![CDATA[<p>Hey, the point that you get from the rayhit-function. Can you get that somehow to match with different objects so you can make scripts depending on what it hits?</p>]]></description>
			<author><![CDATA[dummy@example.com (Pär)]]></author>
			<pubDate>Sun, 13 Jan 2013 00:35:08 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3364#p3364</guid>
		</item>
	</channel>
</rss>
