Parent constrain with handle. Getting usd transform

   1041   0   1
User Avatar
Member
127 posts
Joined: Feb. 2021
Offline
Hey, working on an HDA where I'm parent constraining an object(A) to another(B).

In the HDA I want to add transform handles that matches the constrained position, but when adding the handles from "A" I realize only the object is constrained while leaving the handles in origo.

Since "B" is a usd anim being loaded, I have no way of using that as basis for handles. And my brain exploded when trying to get the transform values from the A/B usd objects with python, since all I get is a matrix with no native node to apply the matrix with.

I can probably deconstruct how to apply the matrix to an xform with python or vex and use that as handles, but just thinking there might be an easier way to get translate values?
Andreas Weidman
VFX Supervisor - Dupe VFX
www.dupevfx.com
  • Quick Links