<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Swingpant&#039;s Game Lab &#187; rigid bodies</title>
	<atom:link href="http://swingpants.com/tag/rigid-bodies/feed/" rel="self" type="application/rss+xml" />
	<link>http://swingpants.com</link>
	<description>Swingpant&#039;s Code Nurdlings</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:02:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='swingpants.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4a88693aa17d6b5e1d453a6684bc1c68?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Swingpant&#039;s Game Lab &#187; rigid bodies</title>
		<link>http://swingpants.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://swingpants.com/osd.xml" title="Swingpant&#039;s Game Lab" />
	<atom:link rel='hub' href='http://swingpants.com/?pushpress=hub'/>
		<item>
		<title>Jonga3D: Testing Jiglib with Away3D</title>
		<link>http://swingpants.com/2009/02/18/jonga3d-testing-jiglib-with-away3d/</link>
		<comments>http://swingpants.com/2009/02/18/jonga3d-testing-jiglib-with-away3d/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 00:20:25 +0000</pubDate>
		<dc:creator>swingpants</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[away3d]]></category>
		<category><![CDATA[jiglib]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[rigid bodies]]></category>

		<guid isPermaLink="false">http://flashlabs.wordpress.com/?p=34</guid>
		<description><![CDATA[I just wanted to test the (newly available in AS3) 3D Physics engine Jiglib. My first test for Box2d was to build a Jenga-style game (Jonga) so I thought I would do the same here. Only a quickie this. I wanted to see if Jiglib would be able to allow &#8216;rigid boides&#8217; in a 3D [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swingpants.com&amp;blog=5703708&amp;post=34&amp;subd=flashlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just wanted to test the (newly available in AS3) 3D Physics engine <a href="http://www.jiglibflash.com/" target="_blank">Jiglib</a>.</p>
<p>My first test for Box2d was to build a Jenga-style game (Jonga) so I thought I would do the same here. Only a quickie this. I wanted to see if Jiglib would be able to allow &#8216;rigid boides&#8217; in a 3D environment with good performance. I know we are limited in Flash so was prepared for a few foibles.</p>
<p>Jiglib has been put to great use in other formats so I had high hopes for its Flash port. </p>
<p>Now I have only given the library 3 or 4 hours of play but my one major probelm so far is the frame rate hit. In Jonga3d I have had to reduce the number of blocks to 15 (5 layers &#8211; I wanted 15 (45 blocks)) and I am still only getting 6fps. I was really hoping for more.</p>
<p>I&#8217;m not complaining too much, a 3d physics engine is a complicated library to pull off &#8211; I&#8217;m just waiting for the day I can build an unfettered 3d environment with a workable physics engine.</p>
<p>Jiglib has a few other problems &#8211; the jiggling static box for example &#8211; but these are understandable for v0.25</p>
<div id="attachment_176" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.swingpantsflash.com/jonga3d/jiglib_away.html"><img src="http://flashlabs.files.wordpress.com/2009/02/jonga3d.jpg?w=655" alt="Jonga3D" title="Jonga3D"  class="size-full wp-image-176" /></a><p class="wp-caption-text">Testing Jiblib: Jonga3D</p></div>
<p>In the test I didn&#8217;t get around to implementing the mouse drag interactions so to see a collapse use the arrow keys to control the sphere &#8211; ram it into the stack.</p>
<p>I am using Jiglib 0.25 &#8211; Away3d version  and Away3D 2.3 <a href="http://www.away3d.com/" target="_blank">(Link)</a><br />
I use <a href="http://www.lostinactionscript.com/blog/index.php/2008/10/06/as3-swf-profiler/" target="_blank">SwfProfiler</a> to track the fps.</p>
<p>Source:<br />
<a href="http://www.swingpantsflash.com/jonga3d/jiglib_away.html" target="_blank">Jonga3D</a><br />
<a href="http://www.swingpantsflash.com/jonga3d/src.zip">Source</a></p>
<p>Thanks to <a href="http://sleepydesign.blogspot.com/2009/01/away3d-jiglib-flash-3d-physics-engine.html" target="_blank">SleepyDesign</a> for getting the ball rolling on this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flashlabs.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flashlabs.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flashlabs.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swingpants.com&amp;blog=5703708&amp;post=34&amp;subd=flashlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swingpants.com/2009/02/18/jonga3d-testing-jiglib-with-away3d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1cebf29489913586137c5bdad0414c88?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">swingpants</media:title>
		</media:content>

		<media:content url="http://flashlabs.files.wordpress.com/2009/02/jonga3d.jpg" medium="image">
			<media:title type="html">Jonga3D</media:title>
		</media:content>
	</item>
	</channel>
</rss>
