[Papervision3D] Plane's x&y coordinates to stage's x&y coordinates

Gil Birman gil at allflashwebsite.com
Tue Sep 23 13:46:05 PDT 2008


>
> Thanks a lot ;) Your tip was extremely useful
>
> One more question. How can I calculate top-left corner of plane without
> changing registration point?
>
> I need this value calculated all the time...



I would change the registration point, but if you don't want to do that,
then your plane will probably be centered, which meens X-axis needs to be
offset by -plane.width/2 and y needs to be offset by plane.height/2

http://www.allflashwebsite.com/article/seamlessly-combining-2d-and-3d-in-flash-with-planes

http://www.allflashwebsite.com/article/seamlessly-combining-2d-and-3d-in-flash-with-planes-part-2-as3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080923/562ed45b/attachment.html 


More information about the Papervision3D mailing list