View Full Version : Using Multiple Particle Goals

05 May 2008, 09:02 PM

I am working in XSI on something where I have multiple particle clouds in a scene. I would like the particles from cloud 1 to be attracted to goal B and the particles from cloud #2 to be attracted to goal A. However, any time I have multiple goals in a scene, the particle clouds simply find a center point between the two goal objects, even if I have a picking session for each cloud and goal respectively. This also applies if I have 10 clouds and 10 separate goal objects.

They work individually:

Cloud #1:

Cloud #2:

...But not together :(

Together with both goals :

Anyone have any this seams a simple thing but just doesn't work. What am I missing?

Scene File:

EDIT ------------------------

Btw, I know that I can have multiple "attractor forces" in a scene to achieve this but a goal has a bit more control in the type of flocking it can achieve with the surface, point or line attributes.

with separate attractor forces and respective particle clouds: (

Scene File: (

05 May 2008, 12:16 AM
Hey Ryan
Do you have individual Ptypes for each particle cloud?

The Ptype is what associate to the Goal event... so if you have the same ptype in two different clouds, they will go to the same Goal.

To change the ptype you need to go in the PEmitter and change the ParType.

To inspect all the Ptypes you have in the scene, open the explorer (8), change the scope to Application and under "Scene" tree you'll see ParTypes. Theres is where all Ptype of your scene will live.

05 May 2008, 08:59 PM
hey Thiago,

that's the ticket...don't know why I didn't try that. Thanks man.

...Such a wierd thing though that you cannot do it on a per cloud basis versus creating new ptype for each goal.

Well, for those of you following along...thanks again Thiago.

Video: (

Scene: (

05 May 2008, 02:28 AM
Hey Ryan,
Cool, I'm glad that worked.

by the way, I love the work you guys do at Vitamin! :)

05 May 2008, 12:40 PM
hey Thiago,

that's the ticket...don't know why I didn't try that. Thanks man.

...Such a wierd thing though that you cannot do it on a per cloud basis versus creating new ptype for each goal.

Clouds are mostly meant to represent the actual particles primitive, mostly at emission level.
It's fairly typical to need different emitters and clouds to contribute to the same final result though, and that is where PType comes into play, allowing you to tag different clouds with the same property so that they act as a whole, or keeping them separate by giving each one its own property.

If you look at it in context, while maybe not immediately obvious, it does help managing work and achieving some results that would be hard to get if there wasn't a property based system to deal with simulation elements.

It also allows new particles generated inside a cloud (or different clouds) to have their own behaviour and properties.

If it helps you puzzling it out, you can think of it like a tagging mechanism that simulates something close to groups.

05 May 2008, 04:58 PM
ThE_JacO - Thanks for the further explanation. As I have been playing with it more for this project over the weekend, I can see the benefits for sure. Itemizing control is always something I seek...I'm an animator first...and therefore a control freak...:) Either way, i'm sure I'll have more questions along the way and appreciate you availing yourself for some clarification.

Thiago - likewise my guys at Nervo do some hot work over there...and I always appreciate the detail you show in the forums...
Overall, I'll likely post something later to show how I applied this (in non-client form of course) but might be interesting for others...

Thanks again for the thoughts.


07 July 2008, 11:05 PM
Well, I was posting for something else so I thought I would finally post the sample scene and vid of something similar to what I was applying these theories to. This sample is a bit clunky but the principles hold up. Hope it helps someone or someone improves upon it...

Sample Vid (

Sample Scene ( (right click and download)

CGTalk Moderation
07 July 2008, 11:05 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.