Jump to content

Path object double transformation question


dedeks3000

Recommended Posts

hye all,

I have a serie of nulls attached to an curve (build from others nulls through a merge sop node).

 

This TOP nulls are parented to a master control object and when i scale the master , all work well except for the objects atached to the curve (scale inversely).

 

I can always link the scale parm to the master scale but this is too tricky for my purpose.

Someone knows what it happend behind this sort of inversed double transformation ???

 

 

 

 

curve_cnst_001.hipnc

Link to comment
Share on other sites

When you're using a Path object, that only places the position of the object on the path, it doesn't inherit the scale at all. There's no double transform going on at all. If you want to link the scales together, I think you would need a python expression something like this:

hou.node('../master_ctrl').worldTransform().extractScales()[0]
  • Like 1
Link to comment
Share on other sites

OK --> no double transform .... :huh:  

 

Using the world transform scale instead of the direct scale referencing make more sense.

An alternative method using CHOP with an object node can also be used (maybe  it's a more organized way).

 

Thans a lot @edward.

Edited by dedeks3000
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...