Jump to content

rotate points ?


messipte

Recommended Posts

Hi i'm still very new to houdini so sorry for the noob question.

I want to create a stem with leaves attached to them, I created the stem and used the tangentv in order to attach the leaves, now I'd like to rotate each point by a certain angle, and i'm stuck.

Tried with pointvop and matrix, had no success, I guess it could be possible with quaternions but still, I can't figure out how to do this simple thing...

Can someone help me ?

Thanks !

rotate_tangent.png

Link to comment
Share on other sites

hi messipte,

i guess you want to rotate it along the branch?

here is a simple hip file. degtorad node let you rotate vector by an angle in degree, feel free to replace it with any random point value :)

If you want to rotate it in other random direction, you can use any random vector per point instead of t.

boby

rot_vec.hipnc

Edited by boby
  • Like 2
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...