Hello,
Does anyone know why or to prevent the object that is passed in the
Plane constructor of being destoyed?

My example:

private var _planeObj1 :Object;
private var _plane1     : Plane;

_planeObj1 = {
                                x: -190,
                                y:-50,
                                z:520,
                                segmentsH:10,
                                segmentsW:10,
                                rotationY: -40,
                                rotationX: 90,
                                width:824,
                                height:489,
                                bothsides:true,
                                ownCanvas:true,
                                material: _mat1
                        }
trace("_object exist ", _planeObj1);

_plane1 = new Plane(_planeObj1);

trace("_object is gone ", _planeObj1);  // outputs -> _object is
gone , null

The reason I ask, is because if you where to tween the plane, it would
be handy to acces the original positions, rotations etc. to tween to.

Regards,
Chris.

Reply via email to