gamecreator Posted May 9, 2017 Share Posted May 9, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.