rotate section of sweep (...with vex ?)

   3573   2   1
User Avatar
Member
147 posts
Joined: Aug. 2014
Offline
Hi there,

I have a little question on the sweep section.
I found one vex code online and this help me for change the section scale with the ramp
(this https://sidefx.com/forum/topic/49955/?page=1#post-225321 [sidefx.com] works also with the sweep).

Do you know how can I rotate the section/bone like the “twist” of my sweep?

I think to use the ramp and the vop but I don't know where put the hand for this…

thanks for your help
Matteo
User Avatar
Member
1737 posts
Joined: May 2006
Offline
Sweep uses the same instance attributes that the rest of houdini does, so N, up, orient etc.

Here's a setup that uses orient to control twist along the curve, with a trick I learned recently, wrote about it here:

http://www.tokeru.com/cgwiki/index.php?title=HoudiniVex#Combine_quaternions_with_qmultiply [www.tokeru.com]

-matt

Attachments:
sweep_twist.gif (940.6 KB)
sweep_twist.hip (122.6 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
147 posts
Joined: Aug. 2014
Offline
hey,
thank you Matt and sorry but my notification isn't active so… I read only now. I change project but I take it soon so… I check all file and link you give me.

Thank you for your help
Matteo
  • Quick Links