Miner34dev

Results 24 comments of Miner34dev

This may take a bit more than i expected since dustpool.cpp seems to not be able to be slowed down/sped up at all and may require some extensive modification.

> However, this might do the trick: https://ogrecave.github.io/ogre/api/1.11/class_ogre_1_1_particle_system.html#afd8ec707603e16d1b0eec2e734486947 - basically it should be an one-liner inside the `DustPool::update()` loop: > > ``` > pss[i]->setSpeedFactor(App::GetGameContext()->GetActorManager()->GetSimulationSpeed()); > ``` As i expected, it...

> Hmm, I guess we must do this: > > ``` > const float speedFactor = (App::sim_state->GetEnum() == SimState::PAUSED) > ? 0.f > : App::GetGameContext()->GetActorManager()->GetSimulationSpeed(); > // ~~~~~~~ > pss[i]->setSpeedFactor(speedFactor);...

Found the problem. GFXScene only updates the particles if the physics aren't stopped. EDIT: I fixed it. now smoke is working correctly. Sparks stop moving but disappear shortly (now i...