Hm. I have a similar problem with forward. Shouldnt doing this give
you essentially the same thing?

var direction:Number3D = new Number3D(0, 0, 1);
transform.multiply(direction);

transform.forward should have the same values as direction, no?

When I trace the values, the sign is flipped for x/y, or they are both
different, but the z remains the same in both Number3D's. Maybe there
is a problem like the original poster said, as the zz value is the
only one correct.

On Aug 26, 3:30 am, John Brookes <[email protected]> wrote:
> Yes no?
> Talking out of wrong hole?
>
> On 25 August 2010 10:46, John Brookes <[email protected]> wrote:
>
>
>
> > Shouldn't these be column vectors, not row?
>
> > eg
> > /**
> > * Returns a Number3D representing the forward vector of this matrix.
> > */
> > public function get forward():Number3D
> > {
> >     _forward.x = sxz; //szx;  wrong?
> >     _forward.y = syz; //szy;  wrong?
> >     _forward.z = szz;
> >     return _forward;
> > }

Reply via email to