vorigin expression function

Returns a vector of a objects’s transforms.

Replaced by: hou.ObjNode, hou.Matrix4

See also: origin, vtorigin, vrorigin, originoffset

Usage

vorigin(obj1, obj2)

This function will return a vector with 6 values in it. The values are set to “[TX, TY, TZ, RX, RY, RZ]” for the position of obj1 relative to obj2.

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

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