Hi
I have here a curve created between tow points
every point get its position according to an object position
ok no i wan to copy a box along this curve but always keep it look in direction vector from the first point to the end point
i used poly frame and the point method even i tried to use point vop
but always there is something missing
So can you guide me on this
I did attached the file
object aligned to curve
3134 2 1- shrifazmy
- Member
- 19 posts
- Joined: Oct. 2012
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Online
Subtract the positions of the first and the last points and apply the normalized result to all point normals. Define the up vectors to point upwards and append a copy-to-points node.
vector pt0 = point(0, "P", 0); vector ptn = point(0, "P", npoints(0) - 1); @N = normalize(pt0 - ptn); @up = {0, 1, 0};
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- dedeks2999
- Member
- 85 posts
- Joined: May 2011
- Offline
-
- Quick Links