header general

Sparkle Spawner Problem

  • cmw1986
  • cmw1986's Avatar Topic Author
  • Wraith
  • Wraith
More
9 years 8 months ago #1 by cmw1986
Sparkle Spawner Problem was created by cmw1986
How do I make the sparkles from Sparkle Spawner fall from the ceiling instead of rising up from the floor?.

Please Log in or Create an account to join the conversation.

  • Blue Shadow
  • Blue Shadow's Avatar
  • Administrator
  • Administrator
More
9 years 8 months ago #2 by Blue Shadow
Replied by Blue Shadow on topic Sparkle Spawner Problem
Set the SPAWNCEILING flag on the spawner actor so it becomes "attached" to the ceiling, and use negative z velocity values when spawning the particles through A_SpawnItemEx .

Please Log in or Create an account to join the conversation.

  • cmw1986
  • cmw1986's Avatar Topic Author
  • Wraith
  • Wraith
More
9 years 8 months ago #3 by cmw1986
Replied by cmw1986 on topic Sparkle Spawner Problem
Okay, I've done that and they seem to be working fine...but I am still curious about something. Are some sparkles supposed to fall/rise slow while others fall fast?. I'm just wondering...

Please Log in or Create an account to join the conversation.

  • Blue Shadow
  • Blue Shadow's Avatar
  • Administrator
  • Administrator
More
9 years 8 months ago - 9 years 8 months ago #4 by Blue Shadow
Replied by Blue Shadow on topic Sparkle Spawner Problem

cmw1986 wrote: Are some sparkles supposed to fall/rise slow while others fall fast?

Yes, they are, as the initial velocity of the particles is randomized when spawned.
Last edit: 9 years 8 months ago by Blue Shadow.

Please Log in or Create an account to join the conversation.