Vector3D.project() method in [Help] says: "If the current Vector3D object is the result of multiplying a Vector3D object by a projection Matrix3D object, the w property can hold the transform value." http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Vector3D.html#project()
How can you multiply a Vector3D object by a projection Matrix3D object? I had thought the Matrix3D.transformVector() method do it. However the Vector3D.w property of the reslut instance did not hold its value but was set to 1. I could not find out other methods for multiplication. var myMatrix3D:Matrix3D = new Matrix3D(); var myVector3D:Vector3D = new Vector3D(); trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 0 myVector3D = myMatrix3D.transformVector(myVector3D); trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 1 Any advices or suggestions would be very appreciated. -- Fumio Nonaka http://www.FumioNonaka.com/ My books<http://www.FumioNonaka.com/Books/index.html> Flash community<http://F-site.org/> _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

