These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

object center as rotation center

regal
Registered: Jun 10 2008
Posts: 9

Hi,
can we set the center of an object as the rotation center instead of the scene's center?

Thanks

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You might want to try asking this questions on the 3D forum to get a better answer.

I'm pretty sure the (0,0) point on an object is defined in the modeling/conversion software. You have to be aware of this up front and modify the rotation matrix to take it into account, i.e. multiply the rotation matrix by the matrix that translates the object to be centered at (0,0), then multiply the result by the inverse of the translation matrix.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script