<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - changeCurrentCamera help]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=399</link>
		<description><![CDATA[The most recent posts in changeCurrentCamera help.]]></description>
		<lastBuildDate>Thu, 26 Jul 2012 06:28:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: changeCurrentCamera help]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2178#p2178</link>
			<description><![CDATA[<p>This worked! Thanks for the help.</p>]]></description>
			<author><![CDATA[dummy@example.com (Almighty Laxz)]]></author>
			<pubDate>Thu, 26 Jul 2012 06:28:58 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2178#p2178</guid>
		</item>
		<item>
			<title><![CDATA[Re: changeCurrentCamera help]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2177#p2177</link>
			<description><![CDATA[<p>did you declare the objects with getObject ?</p><div class="codebox"><pre><code>-- get objects
Camera1 = getObject(&quot;Camera1&quot;)
Camera2 = getObject(&quot;Camera2&quot;)

-- scene update
function onSceneUpdate()

    if onKeyDown(&quot;B&quot;) then
         changeCurrentCamera(Camera2)
    elseif onKeyDown(&quot;C&quot;) then
         changeCurrentCamera(Camera1)
    end

end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 25 Jul 2012 12:04:45 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2177#p2177</guid>
		</item>
		<item>
			<title><![CDATA[changeCurrentCamera help]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2176#p2176</link>
			<description><![CDATA[<p>So i&#039;m trying to get the camera on my player to change when a certain key is pressed. I have 2 cameras set up on it, Camera0 and Camera1. <br />&nbsp; &nbsp; if isKeyPressed(&quot;C&quot;) then<br />&nbsp; &nbsp; changeCurrentCamera(Camera1)<br />&nbsp; &nbsp; end<br />I&#039;m new to lua so i&#039;m not sure why this code won&#039;t work.</p>]]></description>
			<author><![CDATA[dummy@example.com (Almighty Laxz)]]></author>
			<pubDate>Wed, 25 Jul 2012 11:06:53 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2176#p2176</guid>
		</item>
	</channel>
</rss>
