<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: jiglibflash dae, shading and physics</title>
	<atom:link href="http://www.synergyseeker.com/jiglibflash/jiglibflash-dae-shading-and-physics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.synergyseeker.com/jiglibflash/jiglibflash-dae-shading-and-physics/</link>
	<description>JiglibFlash, Papervision3D, Flash, ActionScript, Music, Physics and other random thoughts By Richard Mattka</description>
	<lastBuildDate>Mon, 17 May 2010 14:19:10 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: richard mattka</title>
		<link>http://www.synergyseeker.com/jiglibflash/jiglibflash-dae-shading-and-physics/comment-page-1/#comment-11</link>
		<dc:creator>richard mattka</dc:creator>
		<pubDate>Tue, 27 Jan 2009 01:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.synergyseeker.com/?p=46#comment-11</guid>
		<description>@bionical, Well the easiest way is to map the DAE object&#039;s coordinates with those of an object in the physics engine. There are 2 ways to do this in JigLibFlash. 
1. You can assign the DAE as the skin of the jiglibflash object in the same way you do a sphere or a cube. Using PaperVision3D you need to first create a DisplayObject3D and then attach the DAE object to it. Then you can use the DO3D object as the skin of the jiglibgflash object as you would any other.
2. You can use mapping. So in your render loop you would map the coordinates of your DAE object to the coordinates of your jiglibflash object. Let the engine handle the calculations and then use the 3d renderer to visually display the results. The trick is to make sure your DAE object and the underlying jiglibflash object have similar dimensions so the collisions are realistic. You may need to play around with orientation of the DAE object in relation to the JLF object as well. You might need to apply an offset for example if your DAE is not aligned to the same origin / reference points as your JLF object. ie. you might need to add +20 to your x, to slide it over a little if its not quite lining up.</description>
		<content:encoded><![CDATA[<p>@bionical, Well the easiest way is to map the DAE object&#8217;s coordinates with those of an object in the physics engine. There are 2 ways to do this in JigLibFlash.<br />
1. You can assign the DAE as the skin of the jiglibflash object in the same way you do a sphere or a cube. Using PaperVision3D you need to first create a DisplayObject3D and then attach the DAE object to it. Then you can use the DO3D object as the skin of the jiglibgflash object as you would any other.<br />
2. You can use mapping. So in your render loop you would map the coordinates of your DAE object to the coordinates of your jiglibflash object. Let the engine handle the calculations and then use the 3d renderer to visually display the results. The trick is to make sure your DAE object and the underlying jiglibflash object have similar dimensions so the collisions are realistic. You may need to play around with orientation of the DAE object in relation to the JLF object as well. You might need to apply an offset for example if your DAE is not aligned to the same origin / reference points as your JLF object. ie. you might need to add +20 to your x, to slide it over a little if its not quite lining up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bionical</title>
		<link>http://www.synergyseeker.com/jiglibflash/jiglibflash-dae-shading-and-physics/comment-page-1/#comment-10</link>
		<dc:creator>bionical</dc:creator>
		<pubDate>Tue, 27 Jan 2009 01:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.synergyseeker.com/?p=46#comment-10</guid>
		<description>how do u make a DAE collide with a cube or any other objects? say for example this site has some cool low Polly models and want to use them and want o make them collide with other objects.

http://www.tomtallian.com/</description>
		<content:encoded><![CDATA[<p>how do u make a DAE collide with a cube or any other objects? say for example this site has some cool low Polly models and want to use them and want o make them collide with other objects.</p>
<p><a href="http://www.tomtallian.com/" rel="nofollow">http://www.tomtallian.com/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
