# Niagara Time Dilation?

**URL:** <https://forums.unrealengine.com/t/niagara-time-dilation/448146>\
**Category:** FX\
**Tags:** time-dilation, unreal-engine, Blueprint, question\
**Created:** [May 1, 2019, 3:50am UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146 "2019-05-01T03:50:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nooSens](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nooSens](https://forums.unrealengine.com/u/nooSens)\
**Post date:** [May 1, 2019, 3:50am UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/1 "2019-05-01T03:50:34Z")

</div>

Hello!

After a bunch of tentatives, I was not able to figure out how to achieve in Niagara a similar result to “Set Custom Time Dilation” for Cascade Particles System.

Is this result not possible for Niagara at the moment, or does somebody have an idea on how to achieve this result in a Niagara Particle System?

Thank you.

 ![275629-2019-04-30-20-45-23-window.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/d/5ad62b1fd968ef4f85f745752e539a67a26fffa2.png)

---

<div class="post-metadata">

**Author:** ![Xitis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xitis](https://forums.unrealengine.com/u/Xitis)\
**Post date:** [June 23, 2019, 7:14pm UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/2 "2019-06-23T19:14:32Z")

</div>

Hello,

You can implement a sort of Custom Time Dilation by using that setup:

 ![280560-customtimedilationsetup.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/0/550d612478a85c76315e86749027d39472cd883c.png)

I hope they will bring back that handy feature because that setup is not very ideal. Also the ‘Set Paused’ is important as the engine will crash at the end of the simulation otherwise.

---

<div class="post-metadata">

**Author:** ![busyframes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@busyframes](https://forums.unrealengine.com/u/busyframes)\
**Post date:** [January 2, 2021, 8:29pm UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/3 "2021-01-02T20:29:34Z")

</div>

@xitis  
I was trying achieve this in 4.26. There’s now a node called “advance simulation BY TIME” but I’m now sure how to get it working. Do you know if that would help?

---

<div class="post-metadata">

**Author:** ![VeganApps](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/veganapps/32/1198354_2.png) [@VeganApps](https://forums.unrealengine.com/u/VeganApps)\
**Post date:** [February 9, 2021, 7:21pm UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/4 "2021-02-09T19:21:28Z")

</div>

@xitis and all others

If your time runs at e.g. 1/20 or 0.05 you can set it up like this to get back to normal speed for the Niagara effect:

 ![329329-niagaracustomtimedilation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/1/be10bf8e43164dcc292b62b3bee07580b7669920.png)

---

<div class="post-metadata">

**Author:** ![nooSens](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nooSens](https://forums.unrealengine.com/u/nooSens)\
**Post date:** [March 21, 2021, 12:09am UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/5 "2021-03-21T00:09:28Z")

</div>

Global time dilation affects the whole level. This is not a good option for me. 😕

---

<div class="post-metadata">

**Author:** ![NEED\_A\_JACKET](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NEED\_A\_JACKET](https://forums.unrealengine.com/u/NEED_A_JACKET)\
**Post date:** [May 14, 2021, 11:35am UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/6 "2021-05-14T11:35:53Z")

</div>

He’s using Advance Simulation by Time node to negate the effects of global time dilation. EG if you need the global time to be in slowmo, but want the particles to run normal speed, you can multiply the “Simulate Time” by a factor. In this case 20, to counteract the 1/20th global speed.

---

<div class="post-metadata">

**Author:** ![STUVash](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@STUVash](https://forums.unrealengine.com/u/STUVash)\
**Post date:** [November 18, 2021, 1:45pm UTC](https://forums.unrealengine.com/t/niagara-time-dilation/448146/7 "2021-11-18T13:45:27Z")

</div>

Hi, I know the thread is a bit old but since I had a working solution I thought I’d share.

It’s true that you can’t access Global Time Dilation value itself through Niagara but you can guess the value pretty easily, since Engine.Time is affected by GlobalTimeDilation.

Create a float emitter variable called PreviousTime, Set it to Engine.Time value at the end of Emitter Update  
Create another float emitter variable, Set it to

(Engine.Time - PreviousTime) divided by Engine.DeltaTime  
Engine.DeltaTime is the time from one tick to the next.

In theory that should be enough, but I’m not encountering the right results, my guess would be that, somehow, Engine.DeltaTime variable is also affected by GlobalTimeDilation, so just save Engine.DeltaTime into another float emitter variable when GlobalTimeDilation is still 1.0.

If your fps are always capped at a specific rate like 60 fps, you can also enter the value manually, 1/60  
I get better results that way so I suppose this is how it works.

Don’t forget to clamp the result to your desired range since fps do vary from one frame to another, you wouldn’t want the sudden difference to be noticeable.

Now if your idea is to have a blueprint change a custom “playrate” value for your niagara, you could just make a user parameter and use it in your system.

Regards.
