PDA

View Full Version : "goal" to the position of the object which particles were created


websdas
08-19-2009, 07:09 PM
Hi, everybody, i got a problem of goal.
The situation is that i would like to emit particles from a geometry, and then i wanna those particles goal to the postion of that geometry exactly the position when those particles created. Therefore, when i move this object, the particles can be attached to the object. I really got no idea to do this. anyone could give me some ideas, let said samplerInfo or expression can help? thank you!!

Wick3dParticle
08-21-2009, 12:21 AM
hey Yin.

Its pretty easy to set up. Make the emission surface a goal object. On the emitter, check on the Need Parent UV option (it is a few options below the emission rate).
Then add the following PP attributes: goalU, goalV, parentU,parentV (you can find them all in the particle tab of the particle's add attribute editor.

Then set those attributes as followed in a creation expression:

particleShape1.goalU = particleShape1.parentU;
particleShape1.goalV = particleShape1.parentV;


Good Luck!

~Ilan

CGTalk Moderation
08-21-2009, 12:21 AM
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.