vrorigin expression function

Returns a vector of an object’s rotations.

Replaced by: hou.ObjNode, hou.Matrix4, hou.Matrix3

See also: origin, vorigin, vtorigin, originoffset

Usage

vrorigin(obj1, obj2)

This function will return a vector containing the rotates required to transform obj1 to the space of obj2.

This can also be thought of as the orientation of obj2 relative to obj1.

If obj1 is the empty string (“”), then the world space rotation of obj2 is returned.