<?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: Add Radial Gravity to Box2D</title>
	<atom:link href="http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/</link>
	<description>iPhone Development and my life as a single father</description>
	<lastBuildDate>Wed, 01 Feb 2012 09:43:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Oliver</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-3531</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Sat, 26 Nov 2011 05:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-3531</guid>
		<description>Hey, I was looking to implement radial gravity physics and this is exactly what i needed. Thanks very much, the simplicity of your solution is fantastic.</description>
		<content:encoded><![CDATA[<p>Hey, I was looking to implement radial gravity physics and this is exactly what i needed. Thanks very much, the simplicity of your solution is fantastic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-3506</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Wed, 28 Sep 2011 10:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-3506</guid>
		<description>This is great, just what we were looking for for a project we are working on. Many thanks man!</description>
		<content:encoded><![CDATA[<p>This is great, just what we were looking for for a project we are working on. Many thanks man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-3030</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Sat, 07 May 2011 12:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-3030</guid>
		<description>thanks so much. i was actually working on something like this for my app.</description>
		<content:encoded><![CDATA[<p>thanks so much. i was actually working on something like this for my app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Le Brech</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1784</link>
		<dc:creator>Joseph Le Brech</dc:creator>
		<pubDate>Wed, 26 Jan 2011 13:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1784</guid>
		<description>This what I gathered from your tutorial while converting it to Lua for love2d and hump.



  ship = bodies[1]
  shipVec = vector(ship:getX(),ship:getY())
  planet = bodies[2]
  planetVec = vector(planet:getX(),planet:getY())

  distance = planetVec - shipVec 

  force = 250 / distance:len2()
  normforce = force*distance
  bodies[1]:applyImpulse(normforce.x, normforce.y,ship:getX(),ship:getY())</description>
		<content:encoded><![CDATA[<p>This what I gathered from your tutorial while converting it to Lua for love2d and hump.</p>
<p>  ship = bodies[1]<br />
  shipVec = vector(ship:getX(),ship:getY())<br />
  planet = bodies[2]<br />
  planetVec = vector(planet:getX(),planet:getY())</p>
<p>  distance = planetVec &#8211; shipVec </p>
<p>  force = 250 / distance:len2()<br />
  normforce = force*distance<br />
  bodies[1]:applyImpulse(normforce.x, normforce.y,ship:getX(),ship:getY())</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myrddin</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1720</link>
		<dc:creator>myrddin</dc:creator>
		<pubDate>Wed, 19 Jan 2011 09:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1720</guid>
		<description>Thank you, very useful !
If I want add other planets (with gravity), do I need multiply or add forces ?
Thank you.</description>
		<content:encoded><![CDATA[<p>Thank you, very useful !<br />
If I want add other planets (with gravity), do I need multiply or add forces ?<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MD</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1546</link>
		<dc:creator>MD</dc:creator>
		<pubDate>Fri, 31 Dec 2010 03:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1546</guid>
		<description>Hey Nick,

Great post! Lovely use of physics. Wondering if you might share the source in the video at the bottom of the post?

Cheers,
//MD</description>
		<content:encoded><![CDATA[<p>Hey Nick,</p>
<p>Great post! Lovely use of physics. Wondering if you might share the source in the video at the bottom of the post?</p>
<p>Cheers,<br />
//MD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: winan</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1208</link>
		<dc:creator>winan</dc:creator>
		<pubDate>Sun, 07 Nov 2010 12:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1208</guid>
		<description>I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.</description>
		<content:encoded><![CDATA[<p>I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Berry</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1204</link>
		<dc:creator>Berry</dc:creator>
		<pubDate>Sun, 07 Nov 2010 06:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1204</guid>
		<description>You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material</description>
		<content:encoded><![CDATA[<p>You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1151</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 27 Oct 2010 18:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1151</guid>
		<description>You saved the day.  I looked all over for how to do this.  You are right, it is so simple once you figure it out!  THANK YOU</description>
		<content:encoded><![CDATA[<p>You saved the day.  I looked all over for how to do this.  You are right, it is so simple once you figure it out!  THANK YOU</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aparadekto</title>
		<link>http://www.vellios.com/2010/06/06/box2d-and-radial-gravity-code/comment-page-1/#comment-1139</link>
		<dc:creator>aparadekto</dc:creator>
		<pubDate>Tue, 26 Oct 2010 10:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vellios.com/?p=268#comment-1139</guid>
		<description>Hey, I can&#039;t view your site properly within Opera, I actually hope you look into fixing this.</description>
		<content:encoded><![CDATA[<p>Hey, I can&#8217;t view your site properly within Opera, I actually hope you look into fixing this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

