# Copy: How to rotate objects along my Circle?

## Recommended Posts

Hello,

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

Edited by DévinOdforce

##### Share on other sites

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

Edited by DévinOdforce

##### 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 on other sites

Thank you!

For those who wanna know:

I also found this weird method with a Sweep node:

## Create an account

Register a new account