Python Interactive Viewer State Handle orientation problem

   356   1   0
User Avatar
Member
113 posts
Joined: 8月 2013
Offline
I'm trying to build a python states interactive handle and I want to orient a handle to the normal of different primitives. However I don't understand how to correctly orient the handle. In the viewport it appears correct but the values extracted from the handle are not correct. For example in this image the RY of the gives weird values:
Image Not Found

Basically here when I rotate RY in the viewport the actual value from the handle is RZ, or RX -depending on the normal value. It's like there is a different, internal orientation of the handle.
Edited by coccarolla - 2025年5月12日 14:50:41

Attachments:
screen.png (384.4 KB)

User Avatar
スタッフ
449 posts
Joined: 2月 2018
Offline
Can you post the code used for extracting the handle values ?
  • Quick Links