1
$\begingroup$

I'm using geometry nodes, and trying to align my instance geometry around a sphere, however my geometry is not rotating along the surface of the sphere. The geometry is sticking straight up. I know I can add rotation point to make them randomly rotate, however I want the geometry to align the same way the current point is sitting on the face of the sphere is. I tried using an "align rotation to vector" but no luck there.

Edit: Here is an image of a test set up:

geometry node setup https://i.sstatic.net/aUlB1.png "geometry node"

rendered view of failed geometry node

Here is the blend file a basic setup with non working align rotation geometry nodes

https://www.mediafire.com/file/meai3z5j9z9m4av/Basic_Geometry_Node_Align_Not_Working.blend/file

Double edit: I missed that the the align rotation needed to be set all to 0. It's working beautifully now. Thank you!

enter image description here

$\endgroup$
1
  • $\begingroup$ show us your node tree or your blend file $\endgroup$
    – Chris
    May 29, 2021 at 9:47

1 Answer 1

3
$\begingroup$
  1. add a sphere and a cone to your scene.

  2. add geometry node tree to your sphere

  3. add this node tree:

enter image description here

  1. adjust size of cone in edit mode

result

enter image description here

$\endgroup$
4
  • $\begingroup$ No Comprendo :) .. Is your Align to Vector (0,0,0) doing anything? $\endgroup$
    – Robin Betts
    May 29, 2021 at 10:31
  • 1
    $\begingroup$ believe it or not - with this setup the vector doesn't care at all... $\endgroup$
    – Chris
    May 29, 2021 at 10:47
  • $\begingroup$ the joke is...it works only with point distribute node. If you mute it - it won't work. I guess it is a bug... $\endgroup$
    – Chris
    Jun 15, 2021 at 7:04
  • 1
    $\begingroup$ The 'Vector' in Align Rotation to Vector is a direction, not a point in space. (The direction from 0,0,0 to the value you enter, in object space) So I was remarking on your zero-length value of (0,0,0), which, here, is not a direction at all. As far as I can see, if 0, Blender just ignores it, reverting to the default rotation, normal to the surface. In this context, I see no bug. Points have a rotation attribute, manipulated by this node. If instanced, that attribute appears in the 'Instances' page of the spreadsheet. $\endgroup$
    – Robin Betts
    Jun 15, 2021 at 7:26

You must log in to answer this question.

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