samsin Posted October 26, 2016 Share Posted October 26, 2016 Hi guys, I'm attempting to create a procedural staircase that instances each step along points of a curve. I have tried to use the normal and tangent attributes to achieve this, however I've only been able orientate the entire steps rotation along the path when (I think) what I need to do is make each normal pointing towards the previous point, while ignoring the Y-value of the new normal so that the stair remains level. I assume this is achieved using a point VOP w/ add normal and then deleting the N[y] attribute but I can't seem to calculate the correct direction of the normal. Sorry about bringing such a simple problem, I feel like the solution is obvious but I can't seem to see it. Cheers! stairs.hiplc Quote Link to comment Share on other sites More sharing options...
celd Posted October 26, 2016 Share Posted October 26, 2016 you can use polyframe sop to calculate tangent and output it as N in point sop you can remove the y component of N so the stairs remain level you may also want to create "up" vector pointing up if the orientation isnt behaving correctly Quote Link to comment Share on other sites More sharing options...
samsin Posted October 26, 2016 Author Share Posted October 26, 2016 (edited) Thanks that worked, I tried something similar earlier but accidentally used 'normal name' from the polyframe sop which messed with the result. Edited October 26, 2016 by samsin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.