have a look at the source file for the SierpinskiStars demo:

http://away3d.googlecode.com/svn/trunk/demos/src/Advanced_SierpinskiStars.as

particularly the part in onEnterFrame() where i calculate the properties
mouseMatrix and MouseVector. what i end up with is a vector position of the
mouse in world coordinates assuming a constant screen depth (in this case,
1600)

hth!

Rob

On Wed, Feb 18, 2009 at 4:46 PM, Daevid <[email protected]> wrote:

>
> In my current scene i'v added a plane that covers the entire scene,
> just to be able to get the mouse world position. Since I dont' really
> want this plane to be visible i've set it's alpha to 0, but i guess
> it's still taking some rendering performance?
>
> Is there anyway to get the same mouseEvent data without actually
> rendering the plane?
>
> Cheers,
>
> /David
>
> www.playwithmotion.com




-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to