Jump to content

Particle Emitter Prefab Doesn't Loop


Recommended Posts

I created a particle in the Editor and left loop on true. I then saved it as a prefab and loaded it in my program with:

 

Prefab::Load("Prefabs/emitter.pfb");

 

It plays but then stops playing after the duration ends. Not important for my project but I wanted to report it.

 

Edit: never mind. I believe this is an error on my part because I assumed prefabs loaded at the origin, due to another possible bug mentioned here: http://www.leadwerks.com/werkspace/topic/16257-code-for-playing-an-emitter-from-a-prefab/#entry106684 In other words, the bug is likely that the prefab starts playing at the origin at all when it shouldn't, when all you do is load the prefab/emitter.

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...