Jump to content

link/constrain curve to nulls


Recommended Posts

Hey Guys, I did some searching on this, and I'm still kinda unclear on the best way to do this. In Maya, it's quite simple, create a cluster and constrain the cluster to a null. I imagine it's somewhat similar in Houdini, but I'm lost. any help would be awesome. Thanks!

Link to comment
Share on other sites

You can add point sop to curve object and use something like

ch("/obj/null" + "`$PT+1`" + "/tx")

ch("/obj/null" + "`$PT+1`" + "/ty")

ch("/obj/null" + "`$PT+1`" + "/tz")

in position parameter.

This will "link" every point of the curve with corresponding null object position (point with $PT==0 with null1 object and so on).

Link to comment
Share on other sites

Hi, This make sense looking at it, But I guess I'm unable to get it working in H. Do I need a point sop for each point on the curve? In my scene below, I've basically just added the expression you typed into a point sop's position XYZ, with replacing the null name of course, but it doesn't seem to work for me :(

Please let me know what I'm doing wrong, I love "ah haa" moments

Curve_01.hip

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