0
$\begingroup$

I am using a normal value to rotate a simple cone instance along the parent geometry normals. It works great, but it appears to have a slight angle delta for each face.

Is there a way to "correct" the rotation of each instance?

screenshot of cone instance

Here is a screenshot of my Geometry Node structure: enter image description here

$\endgroup$
2
  • $\begingroup$ is there a specific reason why you don't provide your blend file? $\endgroup$
    – Chris
    Commented Dec 1, 2021 at 16:37
  • $\begingroup$ @Chris I updated the post with the blend file. Any help would be greatly appreciated. $\endgroup$
    – doppler
    Commented Dec 1, 2021 at 17:39

1 Answer 1

3
$\begingroup$

The proper way to rotate individual points is to assign a Transform node to the instance mesh. In addition, the Align Euler to Vector node must be set to the X or Y axis in order to produce the intended results. Since the 4-sided cone appears diagonal, the xyz coordinates will be (90, 45, 90) on the X axis. For Object Info nodes, the xyz coordinates will be (0, 90, 0) on the X axis.

Result:

geometry node face points

Geometry node:

enter image description here

If you prefer to use the point normals, here is the more simple solution:

enter image description here

$\endgroup$
4
  • $\begingroup$ Very handy... where do these angles come from? The code, or experimentation? $\endgroup$
    – Robin Betts
    Commented Dec 1, 2021 at 23:10
  • 1
    $\begingroup$ @RobinBetts the coordinates come from tons of Youtube videos about Euler rotations and tons of experimentation lol. Feel free to upvote my question and answer if you feel this will help others. $\endgroup$
    – doppler
    Commented Dec 2, 2021 at 0:02
  • 1
    $\begingroup$ I have +1ed, already :) I've been using 2 Align Euler nodes, as here in the old-style. Just wondered if yours was a better way. $\endgroup$
    – Robin Betts
    Commented Dec 2, 2021 at 0:13
  • 1
    $\begingroup$ @RobinBetts my solution seems to act slightly off when applied to a Torus mesh. In Blender 3.0, the Align Rotation to Vector node doesn't seem to want to connect to the geometry point instance, but I'll message you if I figure it out. $\endgroup$
    – doppler
    Commented Dec 2, 2021 at 0:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .