Jump to content

Lua particles emitter question


YouGroove
 Share

Recommended Posts

How to know when a particle emitter has finished to play when they are not playing in loop mode ?

 

We don't have some like :

isActive() or finishPlayed()

 

I wanted to avoid to do a timer as the particle has a durationthe emitter is aware of when there is no more particles rendered and could return some boolean to say : ok it is finished playing effect now.

Stop toying and make games

Link to comment
Share on other sites

By script i'm just using a simple timer , very simple, this is mainly to play some one time particle effects as impact and be able to call Release() once it is finished to play.

I just thaught emitter could had exposed that.

Stop toying and make games

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...