Okay this thing may be the coolest thing I've seen in a while. However it's
acting funny.
If I do this:

var coord:Point = Point.polar( _radius, angle );

It works great. But I am after a point further out than _radius. So
naturally I pad it a little...

var coord:Point = Point.polar( _radius + 10, angle );

and now coord.x and coord.y seems to be rotated AND being determined further
out. Since I'm not altering angle, what's going on here?


On Tue, Mar 17, 2009 at 10:15 AM, Eric E. Dolecki <[email protected]>wrote:

> Jason,
> Could you elaborate please?
>
> Point.polar( length, angle );
>
>
> I have the angle (say 0 degrees). The length would then be pixels from the
> center (ie. radius)?
>
>
>
>
> On Tue, Mar 17, 2009 at 9:53 AM, Merrill, Jason <
> [email protected]> wrote:
>
>> In AS3, Point.polar()
>>
>>
>> Jason Merrill
>>
>> Bank of  America   |  Learning Performance Solutions Instructional
>> Technology & Media
>>
>> Monthly meetings on the Adobe Flash platform for rich media experiences -
>> join the Bank of America Flash Platform Community
>>
>>
>>
>>
>> -----Original Message-----
>> From: [email protected] [mailto:
>> [email protected]] On Behalf Of Eric E. Dolecki
>> Sent: Tuesday, March 17, 2009 9:17 AM
>> To: Flash Coders List
>> Subject: [Flashcoders] Intersection on circle based on angle
>>
>> I've done this before but can't find my file(s). I am currently googling
>> but
>> haven't found the answer yet (I'm sure it's out there, just need to
>> rediscover it).
>> I have a circle, registration at 0, 0.
>> If I have an angle from it's center, I'd like to get x,y where the angle
>> would intersect with the edge of the circle. I am basically drawing dots
>> around the outside of a circle (think mixing console knobs with a variable
>> number of detents).
>>
>> anyone have something handy?
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> http://ericd.net
> Interactive design and development
>



-- 
http://ericd.net
Interactive design and development
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to