Thread: Emit upon death
View Single Post
# 6 03-02-2005 , 09:22 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
if(particleShape1.age >= particleShape1.finalLifespanPP)
{
print("dead particle\n");
//do something here
}

Enter that as a runtime expression on the particleShape and that should do it. You can then use that even as a time to spawn more particles or get the world position of the dead one and spawn from there or whatever.

user added image

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB