I understand that a function such as this ...

private function getScreenPos(ob:Object3D):Point{
        var posn:Vector3D = ob.viewMatrix3D.position
        var screenX:Number = posn.x / posn.z;
        var screenY:Number = posn.y / posn.z;
        return new Point(screenX,screenY)
}

...can find the 2D position of the 3D object, but how would I go about
finding the 2D position of a vector3D that hasn't been added to the
scene?

I'm using this to find if a 3d object will appear on the screen if I
add it, that way I won't waste precious processing power on a unseen
object.

Any help appreciated :)

Reply via email to