[Papervision3D] Convert Mouse coordinates to 3d coordinanes

John Grden neoriley at gmail.com
Tue Sep 11 04:13:23 PDT 2007


Hey Leonhard, I think De'Angelo might be able to answer more fully, but I
would think that Mouse3D in the AS3 version might be converted to work in
AS2 version with a little work and the creation of an AS2
InteractiveSceneManager

On 9/11/07, Leonhard Akinbiyi <info at shinjin.de> wrote:
>
> Hi all,
>
> Let me first give out a big THANK YOU for the great work you guys are
> doing. Really pushing the EDGE here!
>
> I have a question using the AS2 version ( fp8 is a requirement  ).
> We want to have two planes with more Items( planes ) on them, and be
> able to pick stuff up from one plane and drop it on to the other plane.
>
> Because the Items on the plane have to be arranged in a certain way,
> we are tilting the Camera3D to achieve the right positions and
> perspective in a easy way.
> The question is:
>
> Is there a recommended way to transform the 2d mouse coordinates to
> the according 3d coordinates or to correct the offset from the mouse-
> pointer we get if we (miss)use some code like this:
>
>
>                                 this.onEnterFrame = function() {
>                                         this.displayObject3D.x =
> this._parent._xmouse;
>                                         this.displayObject3D.y =
> this._parent._ymouse;
>                                 };
>
>
>
> Thanks for your time,
> Cheers Leo
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070911/6fa0be38/attachment.html 


More information about the Papervision3D mailing list