Rotate points along curve tangent
In my project, I'm trying to make a tiled roof. I'd like the tiles to follow a curve. Here's what I've tried and what worked.
Curve tangent
I tried to convert the curve tangent into some rotation angle to rotate each cylinder. However, I'm probably misunsing Rotate Euler.
![](https://www.wafrat.com/content/images/2022/09/image.png)
Curve to points
Eventually I found the answer in this post: all I had to use was the Curve to points node. It exposes a rotation attribute.
![](https://www.wafrat.com/content/images/2022/09/image-1.png)
End result
And here's my Korean style roof:
![](https://www.wafrat.com/content/images/2022/09/image-3.png)