Jump to content

What's The Best Way To Get Rid Of Particles...


Recommended Posts

Guest Red Ocktober
Posted

i'm writing up a portal GameObject, and so far it's working... allowing me to transition from level to level (scene to scene)...

 

but i can seem to get rid of the particles from the previous scene...

 

i think i'm shutting down the emitter.. but the flames still presist in the new level...

 

i've tried ..world.emitters.clear... looping through and clearing em... setting the emitter radius to zero...

 

any suggestions appreciated... has anyone done this successfully before...

 

 

--Mike

Guest Red Ocktober
Posted

thx... tried those... causes the new level to crash...

 

looking at em again...

 

i think i forgot to stop the event hooks during level change...

 

 

--Mike

Posted

The new level doesn't crash if you create it immediately after FreeWorld(). You can't do any other commands before the new CreateWorld().

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Guest Red Ocktober
Posted

ahhhh...

 

lets give that a go...

 

thx

 

 

[edit]

 

no luck... funny though... my gameObject emitters dissapear, but regular emiiters don't...

 

the solution is simple... but i think i'm gonna get bitten by this further down the road :o

 

thx again for the assist...

 

--Mike

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.

×
×
  • Create New...