View Single Post
# 5 20-05-2003 , 08:04 AM
Registered User
Join Date: Nov 2002
Location: Pakistan
Posts: 57

Kill particles a few moments after they reach a specified locator

create an emitter and a locator and create another locator
first select the particle and shift select the 1st locator
goto --- > Particles -- > goals--option reset the setting
and press ok
do the same with other locator
Animate the particle from one locator to another using Goalweight attribute

then add the following script and see the magic of expressions
thanks for the cool expression
<< Daniele Tosti >>

<b>
vector $partPos = particleShape1.position;
if ($partPos > locatorName.ty)
{
particleShape1.lifespanPP = rand (5);
}
else
{
particleShape1.lifespanPP = 5 ;
}</b>

enjoy coding user added image
:banana:


Learn the Rules|Then|
Burn the Rules Book

Last edited by mind_raper; 20-05-2003 at 08:07 AM.