<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Jumping]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=75</link>
		<description><![CDATA[The most recent posts in Jumping.]]></description>
		<lastBuildDate>Thu, 20 Oct 2011 11:34:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=747#p747</link>
			<description><![CDATA[<p>Just joined the forum.. Because I want to learn about scripting... Can someone please give me useful suggestions about it please?<br /><a href="http://rain-chains.net/">rain chains</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Rattiee)]]></author>
			<pubDate>Thu, 20 Oct 2011 11:34:14 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=747#p747</guid>
		</item>
		<item>
			<title><![CDATA[Re: Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=341#p341</link>
			<description><![CDATA[<p><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/screenshot1.jpg" alt="PunBB bbcode test" /></span></p><p>In YoFrankie example :<br />The box in yellow is the &quot;Feet&quot; box.</p><p>In the script just after function onSceneUpdate() you can see theres is : coll = getNumCollisions(Feet)</p><p>so &quot;coll&quot; is the variable where is stored the number of collision for &quot;Feet&quot;</p><p>To describe the jump script below :</p><p>If &quot;Feet&quot; is colliding with something, then allow jump<br />If &quot;Feet&quot; isnt colliding, it wont jump</p><p>More complete info on feet box, to quote anael :</p><div class="quotebox"><blockquote><p>Feet box :<br />It&#039;s just a logic thing, if you want to know if the player touch the ground it is a simple way to do it. Because if you test if the main box is colliding with the room, it will detect also when colliding with the walls (we don&#039;t want). Because the main box is larger than the feet box, the feet box only touch the ground.</p></blockquote></div><p>Hope it helps</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Sun, 08 May 2011 16:13:19 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=341#p341</guid>
		</item>
		<item>
			<title><![CDATA[Re: Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=340#p340</link>
			<description><![CDATA[<p>i am getting some problem to understand this scripts</p>]]></description>
			<author><![CDATA[dummy@example.com (mike brown)]]></author>
			<pubDate>Sun, 08 May 2011 15:43:03 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=340#p340</guid>
		</item>
		<item>
			<title><![CDATA[Re: Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=276#p276</link>
			<description><![CDATA[<div class="quotebox"><cite>Vegas wrote:</cite><blockquote><p>Hello,</p><p>Simply make jump only avaible when Feet is colliding with something, like this :</p><p>&nbsp; &nbsp; -- Jump<br />&nbsp; &nbsp; if isKeyPressed(&quot;SPACE&quot;) then<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (coll &gt; 1) then<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCentralForce(Player, {0, 0, 15}, &quot;local&quot;)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;end&nbsp; &nbsp; <br />&nbsp; &nbsp; end</p></blockquote></div><p>Thank you Vegas, now it&#039;s ok!</p>]]></description>
			<author><![CDATA[dummy@example.com (rodolfo)]]></author>
			<pubDate>Sat, 16 Apr 2011 12:40:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=276#p276</guid>
		</item>
		<item>
			<title><![CDATA[Re: Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=273#p273</link>
			<description><![CDATA[<p>Hello,</p><p>Simply make jump only avaible when Feet is colliding with something, like this :</p><p>&nbsp; &nbsp; -- Jump<br />&nbsp; &nbsp; if isKeyPressed(&quot;SPACE&quot;) then<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if (coll &gt; 1) then<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addCentralForce(Player, {0, 0, 15}, &quot;local&quot;)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;end&nbsp; &nbsp; <br />&nbsp; &nbsp; end</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Fri, 15 Apr 2011 23:32:51 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=273#p273</guid>
		</item>
		<item>
			<title><![CDATA[Jumping]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=272#p272</link>
			<description><![CDATA[<p>Hello guys, I&#039;m trying to make the sheep of YoFrankie demo jump, but isn&#039;t working.</p><p>&nbsp; &nbsp; if isKeyPressed(&quot;SPACE&quot;) then<br />&nbsp; &nbsp; &nbsp; &nbsp; addCentralForce(Player, {0, 0, 5}, &quot;local&quot;)<br />&nbsp; &nbsp; end</p><p>If I hold the key I got a infinite jump. How I fix that? Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (rodolfo)]]></author>
			<pubDate>Fri, 15 Apr 2011 23:13:27 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=272#p272</guid>
		</item>
	</channel>
</rss>
