Are you doing away3d?

Easy way might be

plane.moveTo(sphere.x,sphere.y,sphere.z);
plane.lookAt(view.camera);
plane.moveBackward(200);//or other number

That's uber code, but hope you understand.

-Pete

On Fri, Jan 29, 2010 at 9:47 AM, Valts Darznieks <[email protected]>wrote:

> Hi!
> I`m looking for best way to move plane accordingly to my camera
> (http://ipic.lv/i4/bf441e2d/4f3f4988eb7b995.jpg)
> *) sphere is static in center
> *) camera moves around sphere
> I need for plane to always be behind sphere no matter where I rotate
> the camera.
> If I inverse x,y,z of my camera that should be the center of my
> plane ?
> Could someone give me some pointers on how to achieve this?
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to