5

geometry nodes

Can anyone tell me how to get the pyramids to align with the normals of the deformed plane? I am using mesh to points so that I can target vertices, edges and faces.

Neil
  • 1,976
  • 5
  • 28
  • 42

1 Answers1

7

you can do it with this node setup:

enter image description here

result:

enter image description here

UPDATE:

with your blend file, i could figure it out:

You inserted mesh to point nodes, which stop it from working, if you mute them, you get:

enter image description here

*** UPDATE ****

i found a better solution:

this node setup:

enter image description here

gets this result:

enter image description here

Chris
  • 59,454
  • 6
  • 30
  • 84
  • hey thanks for the answer, whilst this does indeed rotate the instances. In my example i'm targetting individual mesh components and I cannot see how to use your method with the mesh to points node. I've tried it with capture attribute also, just doesn't seem to have normal data. – Neil Dec 15 '21 at 14:51
  • Hi Neil, if you provide your blend file, I will help you. But without it I can only guess around. – Chris Dec 15 '21 at 14:58
  • that's very kind of you - https://pasteall.org/blend/ec19ac9c2baa4a868284ad1bb03e56b5 – Neil Dec 15 '21 at 22:53
  • delete or mute your mesh to points nodes...then it works, i updated my answer – Chris Dec 16 '21 at 11:24
  • if I mute the mesh to points nodes, I will no longer have instances on faces and lines though – Neil Dec 16 '21 at 12:15
  • 1
    @Neil: i found a better solution. I update my answer. Hope you are happy now ;) – Chris Dec 16 '21 at 12:32