How to connect a timer node to a float?


`So Im trying to get my obsticals to increase speed over time. However my delay mode isnt percise at all and the delay isnt no where near close to real time in seconds. So I want to use a timer instead so I can better optimise the increase i speeds over time.

This should be the equivalent:

For more on timers: Using Timers | Unreal Engine Documentation.

1 Like

I kind of actually like the delay better bc with the timer the obstical is jumpy at the begiining meaning that the speed takes a while to kick in. Also I was testing how long the delay would take the speed to increase and I releised that a delay of .000001 was way closer to a second than a delay of 1. Why is that. I been struggling to find a way to increase the speed for all my osticlas at a consistent optimised rate so my game progression gets harder sadly.

Just set the Initial Start Delay to -1.0 and the timer will start right away.

Guess that depends more on your framerate. If I’m not mistaken all latent nodes execute the frame their timer runs out, and since time between frames vary constantly, most often than not the execute can get run a few miliseconds longer than expected. There is no way around this.

IMO that closed loop will do you no good. It’s best to learn how / when / where to use timers.

1 Like