<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Get mouse position]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=938&amp;type=atom"/>
	<updated>2014-02-13T17:32:23Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=938</id>
		<entry>
			<title type="html"><![CDATA[Re: Get mouse position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6445#p6445"/>
			<content type="html"><![CDATA[<p>You might have to use several functions then.</p><p>rayHit()<br />getUnprojectedPoint()<br />getAxis()<br />vec3()</p><p>Mainly getUnProjectedPoint() and rayHit() do the 2D to 3D thing.</p>]]></content>
			<author>
				<name><![CDATA[Tutorial Doctor]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2493</uri>
			</author>
			<updated>2014-02-13T17:32:23Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6445#p6445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Get mouse position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6442#p6442"/>
			<content type="html"><![CDATA[<p>I am trying to have the game logic set up so that you would click<br />on a certain point in a map and then the game would register that<br />point and move you towards it. Its sort of like league of legends <br />or any rts in which you click on a point and it moves you there. </p><p>The problem I am facing is that <br />I cant seem to get the mouse position because it is impossible to <br />get a 2D position on a 3D field.</p>]]></content>
			<author>
				<name><![CDATA[Fderal]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2751</uri>
			</author>
			<updated>2014-02-13T03:19:01Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6442#p6442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Get mouse position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6429#p6429"/>
			<content type="html"><![CDATA[<p>Look at the wiki in &quot;Input&quot; : <a href="http://wiki.maratis3d.org/index.php?title=Lua_scripting">http://wiki.maratis3d.org/index.php?title=Lua_scripting</a><br />&quot;getAxis(axis)&quot; and clic on &quot;axis&quot; (it&#039;s a link)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2014-02-11T09:31:42Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6429#p6429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Get mouse position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6428#p6428"/>
			<content type="html"><![CDATA[<p>The Sponza level has a good example of it:<br /><a href="http://www.maratis3d.org/?page_id=53">http://www.maratis3d.org/?page_id=53</a></p>]]></content>
			<author>
				<name><![CDATA[Tutorial Doctor]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2493</uri>
			</author>
			<updated>2014-02-11T08:47:09Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6428#p6428</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Get mouse position]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6424#p6424"/>
			<content type="html"><![CDATA[<p>How to get mouse position in Maratis? <br />I have been trying to move the character <br />to the point of the mouse and <br />I need to learn how to get the position <br />of the mouse. With the lack of the <br />resources in the Maratis Wiki, I have been searching <br />everywhere ripping my hair out. <br />Please help! </p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[Fderal]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2751</uri>
			</author>
			<updated>2014-02-11T02:55:18Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6424#p6424</id>
		</entry>
</feed>
