Assign orientation from Null Group to particles

Discussions about SOFTIMAGEs© Interactive Creative Environment©
jmquintela
Posts: 31
Joined: 16 Sep 2013, 19:29
Skype: jm_quintela

Assign orientation from Null Group to particles

Post by jmquintela » 25 Sep 2013, 04:45

Hello,
I want to know How can I assign -N- Orientations of a Group of -N- Nulls to -N-number of Particles, so the number of null is equal to the number of particles

I know I can get each null separatly and do a get kine.global.euler + kine.global.pos for each null an plug it to an add point, works perfectly...but that's one add point for each null and over 100 or more it's a little pain to set it or change it,a script could do an automatic job on wirting it, but I recently I find out I could make a group and get the kine.global.pos and assign to just ONE add point node and generate all the particles , it work fine for positions, and if I removed or add a null from the group it updates rigth away, but when is time to set the orientation I can only put one value on the set orientation node....sooo how can I assign the specific null orientation to the specific particle pos on the same add point node? or I'm just taking a dead road and should go back to one to one pos/euler assignment from each null?

is there a work around or something? I would really want to maintain the Group workflow if possible.

I attach a pic of the tree and the instanced models(the chairs)..it's very simple
bye!
You do not have the required permissions to view the files attached to this post.

caledonian_tartan
Posts: 253
Joined: 17 Feb 2010, 14:13

Re: Assign orientation from Null Group to particles

Post by caledonian_tartan » 25 Sep 2013, 07:49

try this.

the add node is just to give a 90° offset, so that the particle cones point in the same directions as with the null arrows.
GetGroupOri.jpg
You do not have the required permissions to view the files attached to this post.
SI 2015 @ WIN7-64

jmquintela
Posts: 31
Joined: 16 Sep 2013, 19:29
Skype: jm_quintela

Re: Assign orientation from Null Group to particles

Post by jmquintela » 25 Sep 2013, 14:35

Thanks!, work perfectly!. :D

jmquintela
Posts: 31
Joined: 16 Sep 2013, 19:29
Skype: jm_quintela

Re: Assign orientation from Null Group to particles

Post by jmquintela » 30 Sep 2013, 23:04

Building in this same Question,
If I Want to assign different models to different Nulls , How I should Use - Find in array - to filter different groups and use different instances models , So I can .
I attach the compound ... it's not working properly I don't know what I'm doing wrong... you have to connect three null groups to make it start on the modling ice tree, very simple.

Bye
You do not have the required permissions to view the files attached to this post.

jmquintela
Posts: 31
Joined: 16 Sep 2013, 19:29
Skype: jm_quintela

Re: Assign orientation from Null Group to particles

Post by jmquintela » 30 Sep 2013, 23:05

This is a JPG of the tree
You do not have the required permissions to view the files attached to this post.