<?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: Acceleration: slow down problem</title>
	<atom:link href="http://dev.enekoalonso.com/2009/01/20/acceleration-slow-down-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.enekoalonso.com/2009/01/20/acceleration-slow-down-problem/</link>
	<description>having fun with code</description>
	<lastBuildDate>Thu, 15 Sep 2011 22:21:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Eneko Alonso</title>
		<link>http://dev.enekoalonso.com/2009/01/20/acceleration-slow-down-problem/comment-page-1/#comment-1900</link>
		<dc:creator>Eneko Alonso</dc:creator>
		<pubDate>Wed, 21 Jan 2009 16:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=264#comment-1900</guid>
		<description>Thanks Jacob! You were right. I was calculating the acceleration properly, but I wasn&#039;t updating the position right.

I&#039;ve updated the code (show above) and now it works like a  charm.</description>
		<content:encoded><![CDATA[<p>Thanks Jacob! You were right. I was calculating the acceleration properly, but I wasn&#8217;t updating the position right.</p>
<p>I&#8217;ve updated the code (show above) and now it works like a  charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Seidelin</title>
		<link>http://dev.enekoalonso.com/2009/01/20/acceleration-slow-down-problem/comment-page-1/#comment-1849</link>
		<dc:creator>Jacob Seidelin</dc:creator>
		<pubDate>Wed, 21 Jan 2009 09:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=264#comment-1849</guid>
		<description>When calculating the new position you need to take the acceleration into account, as it is not constant over the small distance you&#039;re moving the object. Take a look at equation 5 on the Wiki page you linked.

Try something like 
this.currentPos += this.speed - 0.5 * this.acceleration;</description>
		<content:encoded><![CDATA[<p>When calculating the new position you need to take the acceleration into account, as it is not constant over the small distance you&#8217;re moving the object. Take a look at equation 5 on the Wiki page you linked.</p>
<p>Try something like<br />
this.currentPos += this.speed &#8211; 0.5 * this.acceleration;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

