Jump to content

Transform a transform sop UI Handle by Matrix


Recommended Posts

Hello, 

I'm trying to stick a transform sop's UI handle to a point or prim without loosing control of the pivot functionality of the transform node. 

  1. I've bundled this into an HDA and promoted the handle and used a point expression to get a position from the point
  2. I've got the rotation via another point expression and some VEX to unpack the matrix
  3. I use both of these expressions on the transform handles pivot translate and pivot rotate parameters

This gives me the expected behavior with exception to the pivot being overwritten.

Is there a way that I could 'parent' this handle or use the pre-translate/rotate for this problem?

The only option I see for this right now is a custom python handle but I'm just wondering if there is anyone more creative than I who could suggest an alternative way around this problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...