Jump to content

Trouble controlling orientation of an object copy along a curve


Recommended Posts

Hi there, 

I'm was just messing around building a fence in Houdini and I came across this issue...

Screen%20Shot%202015-05-09%20at%201.15.4

 

I really want the fence posts to face along the direction but to stand up completely straight. 

Does anyone know how I can get this to work?

 

Here's my scene if anyone has a sec to check it out.

http://www.naffupdate.com/forumfiles/FenceIssue-veZ1RibM0H.hiplc

 

Screen%20Shot%202015-05-09%20at%201.22.5

 

Thanks!,

Pete

Link to comment
Share on other sites

if you still need to keep planks aligned to the curve, you need the tangent, so polyframe is handy, however, you can use it to compute up vector and use {0,1,0} as N to keep them exactly upright

 

you can as well use template group to isolate main and inbetween points before copy to streamline the flow a bit, instead of branching to soon, therefore avoiding duplicate nodes (like ray and polyframe nodes), but as well solving problem of overlapping planks from both copies

FenceIssue_fix.hiplc

Edited by anim
Link to comment
Share on other sites

  • 10 months later...

Hey sorry to bring this thread back up but I've been refering back to it every now and then and I just noticed something that was causing me a little trouble.

If I try to make the normals look at a point (as in your tute) it seems that they look at a point that is in a slightly different position. 

Do you know what might cause that?

 

Normals%20Issue-zUOY4ZBXIj.gif

 

Screen%20Shot%202016-03-29%20at%201.45.5

 

Thanks,

Pete

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