This didn't seem to work for me. I'm trying to use it on a cube primitive, but when I try to access the "position.x" property (or the y or the z) it returns this error: "TypeError: Error #1010: A term is undefined and has no properties."
I have it running just after the render call in my onEnterFrame function. Any thoughts? On Dec 3, 6:19 am, astrocreep <[email protected]> wrote: > var screenX:Number = do3d.viewMatrix3D.position.x / > do3d.viewMatrix3D.position.z; > var screenY:Number = do3d.viewMatrix3D.position.y / > do3d.viewMatrix3D.position.z; > > On 3 Dez., 00:39, scarter <[email protected]> wrote: > > > > > I was wondering if there was a function in away3dlite similar to > > camera.screen() function in away3d that would return the screen > > coordinates of an object. I saw some earlier posts regarding this but > > I can't seem to find anything simliar in the lite code base. > > > BTW, loving the speed increase in 3Dlite. > > > Thanks, > > Shan
