Jump to content
OdForest

Copy: How to rotate objects along my Circle?

Recommended Posts

Hello,

Beginners question ahead.

How do i make my objects rotate in accordance with the shape of the Circle?

Thanks in advance. 

 

Screenshot 2019-02-24 at 18.08.29.png

Alignment Try Then.hip

Edited by DévinOdforce

Share this post


Link to post
Share on other sites

I got something, but it's still not what i want it to be:

5c72d4d4d5062_Screenshot2019-02-24at18_30_22.thumb.png.065e9123fe6d259e747b0128f19db97b.png

5c72da5d5c4cd_Screenshot2019-02-24at18_54_22.png.02b8fe844a6c99ef613d3c94ce76d971.png

Edited by DévinOdforce

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thank you! 

For those who wanna know: 

I also found this weird method with a Sweep node: 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×