0
$\begingroup$

The blend file link is below. The GeoNode is grabbing instances from a collection that have vertex groups assigned. Then using Constraints on the bones to the geonode object with the selected vertex group, also passing the vertex group through the input and output of the geonode. This worked for the first bone, but I can't seem to get the next bone to work. I need there to be one bone for each cube.

enter image description here

https://drive.google.com/file/d/1Cz6_aeX0vbjcu_Rf4h0YJNTNvfV70b_T/view?usp=sharing

$\endgroup$
1
  • 1
    $\begingroup$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. $\endgroup$
    – Community Bot
    Jul 31 at 8:37

1 Answer 1

0
$\begingroup$

There's probably some buggy GN behavior involved in this. However, there are ways to do what you want.

The first thing to realize is that passing vertex groups from our original geometry, which is completely unrealized in our output, doesn't make any sense, and so there's no reason for passing these vertex groups through from input to output. Instead, we get these vertex groups on our output provided:

  1. These vertex groups are present on our input mesh object;
  2. These vertex groups are present on our instanced mesh objects;
  3. The instances are realized.

Now, in this case, when we do this, we see that it works for Cube1 groups, but for some reason all cubes get assigned to Cube2 groups. However, when we create the Cube2 groups on all instanced cubes, although perhaps with no vertices assigned, then it works properly. Here, I am instancing from a collection of 2 cubes only, and all have cube02 groups, although without all vertices assigned to that group; we can see, in our world space displacement, that our instances are inheriting this vertex group properly:

enter image description here

Note that creating all of these vertex groups, without assignment, is very simple in the file you have: we can simply join all of the objects, then separate by parts, to add all vertex groups of any instanced cube to all instanced cubes. However, in other situations, there would be side effects to doing this.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.