Jump to content

making a pipes system


Recommended Posts

HI guys

I'm working on a pipes system based of a curve, the problem I have is that when a pipe changes plane, the corner joint

won't follow, here's a pic.

post-3040-1216740889_thumb.jpg

I oriented the normals to follow the curve but one the curve goes up, it needs and extra twist.

thanks guys

Link to comment
Share on other sites

you can use the cross product of the current normal and the previous normal as an up vector for the copy operation. - this does imply you don't have two point on the same line next to each other without a change of direction, as that will screw up the result of the cross product.

I added color to the cornerpieces to make it visible in which direction they are pointing.

goodluck

copy_cornerpieces_on_curve.hip

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...