<?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: PhysExplosion- Explosion method for Box2D AS3</title>
	<atom:link href="http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/</link>
	<description>Flash / Flex / Actionscript Devblog</description>
	<lastBuildDate>Sun, 08 May 2011 16:59:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: unity3D gamer</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-65</link>
		<dc:creator>unity3D gamer</dc:creator>
		<pubDate>Sun, 08 May 2011 16:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-65</guid>
		<description>It&#039;s funny how the  &#039;&lt;&#039; sign converted to  &#039;&amp;lt&#039; :D  at first I was searching for variable &#039;lt&#039; thinking its some boolean  &#039;i and lt&#039; (i&amp;lt)  :D
thanks for the code. I will try it with WCK.</description>
		<content:encoded><![CDATA[<p>It&#8217;s funny how the  &#8216;&lt;&#039; sign converted to  &#039;&amp;lt&#039; <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />   at first I was searching for variable &#039;lt&#039; thinking its some boolean  &#039;i and lt&#039; (i&amp;lt)  <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
thanks for the code. I will try it with WCK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germain LECOURTOIS</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-63</link>
		<dc:creator>Germain LECOURTOIS</dc:creator>
		<pubDate>Wed, 23 Mar 2011 09:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-63</guid>
		<description>Thanks Faraz ! I&#039;ll try as soon as possible :)</description>
		<content:encoded><![CDATA[<p>Thanks Faraz ! I&#8217;ll try as soon as possible <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faraz</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-62</link>
		<dc:creator>faraz</dc:creator>
		<pubDate>Sun, 27 Feb 2011 10:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-62</guid>
		<description>this is much more like it

var angle:Number = Math.atan2(-1 * pHitVector.y,pHitVector.x);
var torque:Number = Math.sin(angle + Math.PI) * Math.cos(angle + Math.PI);
torque=(Math.sin(angle + Math.PI) &lt; 0) ? torque :torque*-1;
pBody.ApplyTorque(torque*nHitForce*2);</description>
		<content:encoded><![CDATA[<p>this is much more like it</p>
<p>var angle:Number = Math.atan2(-1 * pHitVector.y,pHitVector.x);<br />
var torque:Number = Math.sin(angle + Math.PI) * Math.cos(angle + Math.PI);<br />
torque=(Math.sin(angle + Math.PI) &lt; 0) ? torque :torque*-1;<br />
pBody.ApplyTorque(torque*nHitForce*2);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: faraz</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-61</link>
		<dc:creator>faraz</dc:creator>
		<pubDate>Sun, 27 Feb 2011 06:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-61</guid>
		<description>simply add these two lines after applyImpulse and you will get angular velocity

var angle:Number=Math.atan2(pHitVector.y,pHitVector.x)
pBody.ApplyTorque(angularV*nHitForce)

thats not very correct i guess but it seems right :D</description>
		<content:encoded><![CDATA[<p>simply add these two lines after applyImpulse and you will get angular velocity</p>
<p>var angle:Number=Math.atan2(pHitVector.y,pHitVector.x)<br />
pBody.ApplyTorque(angularV*nHitForce)</p>
<p>thats not very correct i guess but it seems right <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-60</link>
		<dc:creator>Felipe</dc:creator>
		<pubDate>Sat, 29 Jan 2011 13:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-60</guid>
		<description>How do I make this AS work? Can&#039;t apply point of explosion and other forces. Does anybody has any example?</description>
		<content:encoded><![CDATA[<p>How do I make this AS work? Can&#8217;t apply point of explosion and other forces. Does anybody has any example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germain LECOURTOIS</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-59</link>
		<dc:creator>Germain LECOURTOIS</dc:creator>
		<pubDate>Wed, 01 Dec 2010 12:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-59</guid>
		<description>@Bigz Hello ! J&#039;avais du trouver l&#039;algo ici :
http://www.box2d.org/forum/viewtopic.php?f=8&amp;t=3184

Il est plutôt simple et s&#039;applique au centre de gravité simplement, donc pas de rotation générée. Il faudrait y retoucher un peu et utiliser le raytrace.</description>
		<content:encoded><![CDATA[<p>@Bigz Hello ! J&#8217;avais du trouver l&#8217;algo ici :<br />
<a href="http://www.box2d.org/forum/viewtopic.php?f=8&#038;t=3184" rel="nofollow">http://www.box2d.org/forum/viewtopic.php?f=8&#038;t=3184</a></p>
<p>Il est plutôt simple et s&#8217;applique au centre de gravité simplement, donc pas de rotation générée. Il faudrait y retoucher un peu et utiliser le raytrace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bigz</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-58</link>
		<dc:creator>Bigz</dc:creator>
		<pubDate>Mon, 05 Jul 2010 18:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-58</guid>
		<description>Bonjour Germain.

Je voulais savoir où tu avais trouvé la version c++ de cette méthode.

Merci à toi.

Bigz</description>
		<content:encoded><![CDATA[<p>Bonjour Germain.</p>
<p>Je voulais savoir où tu avais trouvé la version c++ de cette méthode.</p>
<p>Merci à toi.</p>
<p>Bigz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-50</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 11 Jan 2010 11:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-50</guid>
		<description>Salut Germain,

Ca fait un bail (je n&#039;ai pas ouvert msn depuis 1 an à peu près... :)

Tu bosses où en ce moment ?
Moi, je suis chez Bouygues Tel (Applis sur SetTopBox)

Très intéressant ces travaux sur Box2D !

Passe le bonjour au collègue edocoien à l&#039;occaz ;)

++
Tony</description>
		<content:encoded><![CDATA[<p>Salut Germain,</p>
<p>Ca fait un bail (je n&#8217;ai pas ouvert msn depuis 1 an à peu près&#8230; <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tu bosses où en ce moment ?<br />
Moi, je suis chez Bouygues Tel (Applis sur SetTopBox)</p>
<p>Très intéressant ces travaux sur Box2D !</p>
<p>Passe le bonjour au collègue edocoien à l&#8217;occaz <img src='http://www.eventdispatcher.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>++<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-40</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Fri, 11 Dec 2009 14:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-40</guid>
		<description>ahhh, good find on the RayCast stuff...

My implementation works similarly, but is nowhere near as efficient...

I think it&#039;s a slight shame that the box2d manual is so basic... (and doesn&#039;t include some of the great additions.)</description>
		<content:encoded><![CDATA[<p>ahhh, good find on the RayCast stuff&#8230;</p>
<p>My implementation works similarly, but is nowhere near as efficient&#8230;</p>
<p>I think it&#8217;s a slight shame that the box2d manual is so basic&#8230; (and doesn&#8217;t include some of the great additions.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germain LECOURTOIS</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-33</link>
		<dc:creator>Germain LECOURTOIS</dc:creator>
		<pubDate>Sun, 06 Dec 2009 21:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-33</guid>
		<description>@charlie I found informations on RayCast
http://www.box2d.org/wiki/index.php?title=TestSegment
And AS3 application in : http://personal.boristhebrave.com/project/box2d-raycasts</description>
		<content:encoded><![CDATA[<p>@charlie I found informations on RayCast<br />
<a href="http://www.box2d.org/wiki/index.php?title=TestSegment" rel="nofollow">http://www.box2d.org/wiki/index.php?title=TestSegment</a><br />
And AS3 application in : <a href="http://personal.boristhebrave.com/project/box2d-raycasts" rel="nofollow">http://personal.boristhebrave.com/project/box2d-raycasts</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SusieBusparish</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-32</link>
		<dc:creator>SusieBusparish</dc:creator>
		<pubDate>Sun, 06 Dec 2009 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-32</guid>
		<description>Een van de interessantste plaatsen die ik heb ontmoet.</description>
		<content:encoded><![CDATA[<p>Een van de interessantste plaatsen die ik heb ontmoet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germain LECOURTOIS</title>
		<link>http://www.eventdispatcher.fr/2009/11/25/physexplosion-explosion-method-for-box2d-as3/comment-page-1/#comment-24</link>
		<dc:creator>Germain LECOURTOIS</dc:creator>
		<pubDate>Fri, 27 Nov 2009 17:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.eventdispatcher.fr/?p=100#comment-24</guid>
		<description>Tanks for your interesting comment !

Il will add notes and schema in this post to explain difficulties to render a good explosion (Point of application, center mass, density 0 bodies ...)</description>
		<content:encoded><![CDATA[<p>Tanks for your interesting comment !</p>
<p>Il will add notes and schema in this post to explain difficulties to render a good explosion (Point of application, center mass, density 0 bodies &#8230;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

