That is the angle I am looking for... thanks Paul.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Andrews
Sent: Tuesday, November 18, 2008 3:39 PM
To: Flashcoders mailing list
Subject: Fw: [Flashcoders] 3d math in AS3


----- Original Message ----- 
From: "Lehr, Ross (N-SGIS)" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, November 18, 2008 5:55 PM
Subject: [Flashcoders] 3d math in AS3


> Quick question... I know the Math.atan2 can get me an angle (in
radians)
> using y,x.  Can I also use atan2 to get a correct angle using z,x?  or
> is there another way to get an angle when using the z coordinate?

You can use z and x values, but it will give you an angle in a different

plane altogether (the zx plane not the xy plane). Whether it's the angle

that you want is something else again.

Paul

>
> Thanks!!
> Ross
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to