You could always animate it to the center of the "room", hide it, then
put a billboard in its place.

On Mar 16, 10:54 am, Omar Fouad <[email protected]> wrote:
> Thanks for replying Robert, however there is not a lookAt() method for a
> Plane instance...
>
>
>
> ---------- Forwarded message ----------
> From: Robert Andersson <[email protected]>
> Date: Tue, Mar 16, 2010 at 3:51 PM
> Subject: Re: [away3d] Plane Rotation Problem
> To: [email protected]
>
>  You could maybe try to use the lookAt() function? Eg:
>
> plane.lookAt(camera);
>
> That might cause the plane to face away from the camera though, if so do
> something like:
>
> plane.yaw(180);
>
> Regards,
> Robert Andersson
>
>  *From:* Omar Fouad <[email protected]>
> *Sent:* Tuesday, March 16, 2010 2:04 PM
> *To:* [email protected]
> *Subject:* [away3d] Plane Rotation Problem
>
> Dear All,
> I have a view containing a bunch of planes that are placed in a circular
> order around a hover camera, so that, panning the camera, it would give the
> effect of a panoramic view, or whatever. Of course each and every plane is
> got a specific angle (rotationY) so they create a "wall" effect. What I need
> is that when I click to a plane, it moves to the center (x=0, y=0, z=0). The
> problem is I cannot find the correct rotationY for the plane to be set so it
> always faces the camera once it gets to the center of the view even after
> panning the camera..
> You can see the demo
> here<http://dl.dropbox.com/u/3105794/tile3dgallery/Tile3DPplayer.html>.
> I've been trying lots of equations, but apparently they are all wrong. So
> what you are going to see is just the plane moving to x, y, and z to 0,
> without rotationY.
>
> Thanks in advance for the support.
> --
> [image: OmarFouad.png]
>
> Omar Fouad
>
> http://omarfouad.nethttp://groundzeero.comhttp://twitter.com/omarfouad
> +2 (010) 234.66.33
>
> This e-mail and any attachment is for authorized use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>
>
>  OmarFouad.png
> 149KViewDownload

Reply via email to