Forum: Poser Python Scripting


Subject: Recognizing the direction the model is facing

Tekitoumen opened this issue on Aug 09, 2022 ยท 7 posts


adp001 posted Thu, 15 September 2022 at 4:24 PM

You can get the exact rotation of all body parts using [actor].WorldQuaternion(). No need to fiddle with single vertices/polygons to get the direction of an object.

If you are not familiar with Quaternions: Poser user "AllStereo" wrote something useful years ago and put it into freestuff:

https://www.renderosity.com/freestuff/items/72870/poser-quaternion-methods