I can see from the Docs that .vx and .vy should return really view screen coords but the return NaN
On Thu, Apr 15, 2010 at 3:52 PM, savagelook <[email protected]>wrote: > Oh sorry about that. Are you accounting for the position of your > view? Check the example at the bottom of the ScreenVertex doc to see > what I mean: http://away3d.com/livedocs/away3d/core/draw/ScreenVertex.html > I'm using this method in a current project, but I'm only concerned > with the X value that is returned. > > On Apr 15, 8:37 am, Michael Iv <[email protected]> wrote: > > It is not what the camera.screen returns . it returns vertex position X, > Y , > > Z and i can clearly see that X and Z are right but Y is inverted. > > what you are talking about is unpojecting to screen . > > > > On Thu, Apr 15, 2010 at 3:33 PM, savagelook < > [email protected]>wrote: > > > > > > > > > > > > > Flash's stage origin is at the top left. X & Y get larger as you move > > > right and down, respectively. > > > > > On Apr 15, 5:44 am, Michael Iv <[email protected]> wrote: > > > > hi all , I was experimenting with getting object's vertex > camera.screen() > > > > coordinates . It looks that it is ok except of one thing: the Y > coords > > > look > > > > flipped . Is this due to inverted nature of camera projection? or I > am > > > > missing something . > > > > > > -- > > > > Michael Ivanov ,Programmer > > > > Neurotech Solutions Ltd. > > > > Flex|Air |3D|Unity|www.neurotechresearch.com > > > > Tel:054-4962254 > > > > [email protected] > > > > [email protected] > > > > > -- > > > To unsubscribe, reply using "remove me" as the subject. > > > > -- > > Michael Ivanov ,Programmer > > Neurotech Solutions Ltd. > > Flex|Air |3D|Unity|www.neurotechresearch.com > > Tel:054-4962254 > > [email protected] > > [email protected] > -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com Tel:054-4962254 [email protected] [email protected]
