Problem: After a rotation matrix was applied to an object, the corner about which is was supposed to rotate wandered away from position.

Solution: I kept a record of the position of the corner within the clip. I applied the matrix to a copy of that corner point to find where it would transform to. I compared that to where the clip said the corner was. Using the difference, I pushed the clip to get the corner point back into position.

John

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to