How to simplify this geometry node ?

Question

Hello,


Imagine you want to put one or several objects on a scene with geometry node. Their position, rotation or scaling depend of multiple empty (animated or not).

So you can change position, rotation and animation of the empty in the real scene and you can choose the object you want to apply to each empty.


The animated source is a Collection Info node which contains multiple animated empty.

The instances source is a collection info node which contains multiple objects. 


Collection info node keeps the position of the empty but not their rotation.

In order to apply the rotation of the animated empty to each instances I must use the object info node. 


The idea is simple but the resulting geometry node tree very complex. 

And this is a test with 2 objects and 5 empty, so not adapted for lot of animated empty... So is there a way to simplify this ?


Thank you

  • Omar Domenech replied

    Hello Gal. I don't know enough about GeoNodes, but perhaps @jlampel or spikeyxxx can help out. They're the wizards. Maybe you can try and upload the file, if you have any, so they can see the nodes and figure something out.

  • Martin Bergwerf replied

    I'd probably not even use GN for something like this, but just use Constraints...

    But I must admit, that I do not completely understand what exactly you are trying to achieve here (I'm a bit thick at times, sorry...)

  • Gal Wip(Gal) replied

    Hello

    I'm finishing the Cubicity course, and there a lot of assets on the scene.

    Sometimes you want to change some by other. So i try a way to figure this with GN : create like a matrice of empty (in order to keep the PRS infos on the scene for fine adjsutement) link to a collection of asset. 

    But the collection info node keeps only the position infos of the objects it contains, not the rotation or the scale. To retrieve all this 3 infos (PRS) I must use the object info node for each empty, this is not the way I imagine !

    I uploaded screen capture but I do not see them in my topics, I must have made a mistake.

    So here a link to my dropbox to download this test project (Blender 3.5.1). object_rotation.blend.zip

    Thank you

  • Martin Bergwerf replied

    Hi Gal, that does not seem to be a link to your Dropbox

    L.png

  • Gal Wip(Gal) replied

    May this Link to project works ! 

    Thank you 

  • Martin Bergwerf replied

    Yes, that link works 👍🏻

    I'll have a look tomorrow, but I think it should be possilble to simplify this.

  • Jonathan Lampel replied

    I don't think I fully understand the question either. Any reason not to use a regular collection instance without geo nodes? Or use the object info node for each empty rather than the whole collection? 

  • Gal Wip(Gal) replied

    It's about geo nodes ! The object info node keeps the PSR infos. The collection infos node keeps only the P infos of the object it contains, and not the SR infos. I search a way to retrieve the PSR infos with the collection info node, and that is the question ! 

    To work in geo node only with 1 collection of instance(s), feed with one or multiple object you can change anytime, and 1 collection of empty(s) reference you can animate the PSR or not.