Houdini 11 VEX VEX functions

Depending on the value of c, returns the translate (c=0), rotate (c=1), or scale (c=2) component of the transform (xform).

  1. vector cracktransform(int trs, int xyz, int c, vector p, matrix xform)

Depending on the value of c, returns the translate (c=0), rotate (c=1), or scale (c=2) component of the transform (xform). The function uses the given transform and rotation orders (trs and xyz) and the given pivot point (pivot) to calculate the return value. The specifications for the trs and xyz parameters can be found in $HFS/houdini/vex/include/math.h.

Contexts: all