header general

Sparkle Spawner Problem

  • cmw1986
  • cmw1986's Avatar Topic Author
  • Wraith
  • Wraith
More
11 years 5 months ago #374 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
11 years 5 months ago #377 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
11 years 5 months ago #378 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
11 years 5 months ago - 11 years 5 months ago #379 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: 11 years 5 months ago by Blue Shadow.

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