SWEEP NODE PROBLEM????????????????

   7929   6   0
User Avatar
Member
34 posts
Joined: Jan. 2009
Offline
Hi! I made a road using sweep node, but when I tried to transform my curve,
this road began twist around this curve. So, how can I do this road, along all lenght of the curve, always be 90 degrees to Y axis (pic.1)?????????

Attachments:
pic1.jpg (71.5 KB)

User Avatar
Member
229 posts
Joined: May 2006
Offline
if the street is only on ground level with no mountains, you can scale the street in Y, or you use a ray-sop to project it onto a grid. generating normals (for the curve) pointing to Y may help as well.

cheers Seb

caps and hundrets of ?, do not help solving your problem faster!
User Avatar
Member
34 posts
Joined: Jan. 2009
Offline
Thx Seb! Ok I ganerated normals from points, so how to change direction of normals to be 90 degrees to the ground??????????? Seems to me it's not complicated task, but i am confused!
User Avatar
Member
229 posts
Joined: May 2006
Offline
use a point sop and set the normal to 0 1 0, .. so it points up into y direction.

Seb
User Avatar
Member
34 posts
Joined: Jan. 2009
Offline
I tryied to do the same things, but nothing happened, so that's why I'm so confused))

Attachments:
road.hipnc (56.3 KB)

User Avatar
Member
229 posts
Joined: May 2006
Offline
have alook, into the file, ive just used the 3rd input for the reference points and a transform node to the original points which are sweeped

Attachments:
road_101.hipnc (56.3 KB)

User Avatar
Member
34 posts
Joined: Jan. 2009
Offline
Yes! Everything is working! Thx a lot Seb!!!
  • Quick Links