<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: AS3 Helper Class &#8211; FindAngle</title>
	<atom:link href="http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/</link>
	<description>We Make Flash Games</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:01:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Angles in Flash: Rotation, Degrees and Radians — Michael James Williams</title>
		<link>http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/comment-page-1/#comment-4126</link>
		<dc:creator>Angles in Flash: Rotation, Degrees and Radians — Michael James Williams</dc:creator>
		<pubDate>Mon, 21 Sep 2009 23:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.untoldentertainment.com/blog/?p=674#comment-4126</guid>
		<description>[...] could do immediately is rotate one object to face another (or the mouse) by using a function like this one to get the angle between the objects in radians, and using displayObject1.rotation = rotFromRad( [...]</description>
		<content:encoded><![CDATA[<p>[...] could do immediately is rotate one object to face another (or the mouse) by using a function like this one to get the angle between the objects in radians, and using displayObject1.rotation = rotFromRad( [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/comment-page-1/#comment-2966</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 04 Apr 2009 12:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.untoldentertainment.com/blog/?p=674#comment-2966</guid>
		<description>Thanks, Hanox!  More to come ...</description>
		<content:encoded><![CDATA[<p>Thanks, Hanox!  More to come &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hanox</title>
		<link>http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/comment-page-1/#comment-2965</link>
		<dc:creator>Hanox</dc:creator>
		<pubDate>Sat, 04 Apr 2009 10:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.untoldentertainment.com/blog/?p=674#comment-2965</guid>
		<description>Worked for me when I changed it to this:

public static function findAngle(point1:Point, point2:Point):Number
{
	var dx:Number = point2.x - point1.x;
	var dy:Number = point2.y - point1.y;
	return Math.atan2(dy,dx);
}

In livedocs I found:
Note that the first parameter to atan2 is always the y coordinate.

Anyway thx for the Helper classes!

Hanox</description>
		<content:encoded><![CDATA[<p>Worked for me when I changed it to this:</p>
<p>public static function findAngle(point1:Point, point2:Point):Number<br />
{<br />
	var dx:Number = point2.x &#8211; point1.x;<br />
	var dy:Number = point2.y &#8211; point1.y;<br />
	return Math.atan2(dy,dx);<br />
}</p>
<p>In livedocs I found:<br />
Note that the first parameter to atan2 is always the y coordinate.</p>
<p>Anyway thx for the Helper classes!</p>
<p>Hanox</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: untoldentertainment.com &#187; AS3 Helper Class - RadiansToDegrees and DegreesToRadians</title>
		<link>http://www.untoldentertainment.com/blog/2008/12/08/as3-helper-class-findangle/comment-page-1/#comment-2227</link>
		<dc:creator>untoldentertainment.com &#187; AS3 Helper Class - RadiansToDegrees and DegreesToRadians</dc:creator>
		<pubDate>Tue, 09 Dec 2008 03:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.untoldentertainment.com/blog/?p=674#comment-2227</guid>
		<description>[...]  Home &gt; Blog &gt; AS3 Helper Class - RadiansToDegrees and DegreesToRadians Flip through Blog Entries &lt; older [...]</description>
		<content:encoded><![CDATA[<p>[...]  Home &gt; Blog &gt; AS3 Helper Class &#8211; RadiansToDegrees and DegreesToRadians Flip through Blog Entries &lt; older [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

