optransform VEX function

Returns the transform associated with an OP.

Contexts: chop, pop, sop

  1. matrix optransform(string path)

  2. matrix optransform(string path, float time)

Returns the transform associated with an OP. If the OP specified has no transform associated with it (for example a COP), then an identity matrix is returned. It is possible to specify the time to evaluate the transform at (in seconds, not frames).