How to align Euler to the surface normal (Geometry Node)

I use Blender 3.3.

Hi, I want to make foliage with that Geometry Node, and how to use the “Align Euler to Vector” to align instances rotations to the surface normal? When I connect that “Normal” to the Vector input of the “Align Euler to Vector” then it doesn’t work.

This is what I got if I use the Position because the surface is not a sphere, it’s a terrain, but how to get the Normal of the surface? I don’t know how to do it, anyone?

Oh, sorry, I made a mistake. You need to capture normal attribute of the mesh.

5 Likes

Thanks, it works.

1 Like