Hey George

not sure what is going wrong with your matrix assignment - if you could post
an example, it would really help

cheers

Rob

On Fri, Jun 25, 2010 at 8:27 AM, George McKinney <
[email protected]> wrote:

> Greetings Away3D Devs,
>
> I have been  working on  moving a 3D object using the  MatrixAway3D matrix
> by setting  values to the  matrix and  then  assigning that matrix to an
> Object3D  using the transform.
>
> So like this:
>
> -----------------------------------------------------
> private var obj3d:  Object3D;  //assigned in the class definition
>
> ///below is from inside a function
> var m: MatrixAway3D = new MatrixAway3D();
>
> //sample data assignment
> m.sxx = -1.02;
> m.sxy = -1.02;
> m.sxz = -1.02;
> m.syx = -1.02;
> .
> .
> //12 or 16 values worth
> .
> .
> m.tz  = -1.02
>
> //then
>
> obj3d.transform = m;
>
> -----------------------------------------------------------
>
> Apparently, this is not  going to work because, the values do get assigned
> correctly to obj3d however, it does not move  to the right location.
> Furthermore, it will not even allow me to set its visibility (obj3d.visible
> = false;). This is simply ignored.
>
> If you all have any ideas, I am all ears.
>
> Thanks in advance,
> George
>
>


-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to