Krion Posted February 24, 2019 Share Posted February 24, 2019 (edited) Hello, Beginners question ahead. How do i make my objects rotate in accordance with the shape of the Circle? Thanks in advance. Alignment Try Then.hip Edited February 24, 2019 by DévinOdforce Quote Link to comment Share on other sites More sharing options...
Krion Posted February 24, 2019 Author Share Posted February 24, 2019 (edited) I got something, but it's still not what i want it to be: Edited February 24, 2019 by DévinOdforce Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 24, 2019 Share Posted February 24, 2019 There's a few issues here. Some basics: An orientation frame (a 3x3 transform matrix) requires two vectors to build. Typically this is N and up. If you don't provide both of these vectors, or some other orientation attribute (like p@orient), Houdini is going to try to make some assumptions. You were providing just the N vector, and so Houdini was using a default up vector of {0,1,0}, which is going to align everything facing towards world up. You need to also compute an up vector, from either the tangents or the normals of your curve. Additionally, you were trying to compute your normals from a closed NURBS circle. Polyframe is meant to work on polygons. You need to convert your NURBS circle to a polygon curve, and preferably use an open curve rather than a closed surface in order to compute better normals/tangents. Attaching a fixed scene. Alignment Try Then_fix.hiplc Quote Link to comment Share on other sites More sharing options...
Krion Posted February 24, 2019 Author Share Posted February 24, 2019 Thank you! For those who wanna know: I also found this weird method with a Sweep node: 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.