display object level rotations as quaternions

   1986   1   1
User Avatar
Member
4 posts
Joined: Dec. 2010
Offline
Hello,

I would like to manipulate my object's rotations in the viewport, but get a readout of the resulting rotation in quaternion values.

It doesn't have to be a fancy paramter thing, the textport is fine for the result.

Thanks as always.
User Avatar
Member
7768 posts
Joined: July 2005
Offline
In the python textport, use something like:
q = hou.Quaternion(hou.node(“/obj/myobject”).worldTransform())
print q

For a realtime readout, embed it as the value of a Font SOP.
  • Quick Links