Houdini 19.0 Expression functions optransform

optransform expression function

Returns the transformation matrix of an object at the current time.

HOM equivalent

hou.ObjNode.worldTransform()

optransform(object_name)

This function will return the transformation matrix of object_name.

If object_name is the empty string (“”), then the identity matrix is returned.

optransform