with myObject.viewMatrix3D.position i'm getting some really big
numbers. i.e. 10000 for objects only being about 200 pixels from the
center.

do i have to translate the vector in some way?

On 11 Okt., 02:23, Rob Bateman <[email protected]> wrote:
> try this:
>
> myObject.viewMatrix3D.position
>
> Rob
>
> On Fri, Oct 9, 2009 at 1:56 PM, astrocreep <[email protected]> wrote:
>
> > Is there a was to retrieve screenpositions of objects in the scene? In
> > the standard version, there is the camera.screen function.
>
> > I tried transmat = displayObject.transform.getRelativeMatrix3D
> > (vieport) and then get the positions via
> > transmat.position.x and transmat.position.y. positions seem to be in
> > the right direction, but the results are not correct.
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]

Reply via email to