I have a simple question about update functions. There are a lot of threads about this topic, but non of them did a real side by side comparison.
What I want to do:
I need to update some audio related calculations. As they do not need to be updated every frame, I wanted to save some performance on them and set a custom update interval.
What I came up with:
- Timer: The first idea was to use a looped timer and set the time with a float value to adjust the timing as needed.
- Tick: The second idea was to use the regular tick, but change its interval as needed.
What I’m wondering:
Is there any difference in case of performance between these 2 setups? The timer is just started once at the beginning and keeps on looping from there on. But what about the tick? Usually it’s based on FPS, which will vary. Will the “Set Actor Tick Interval” node set the tick timing to a static interval, for example 10 times / sec? Or is ist still firing with like 60 FPS at the “Set Actor Tick Interval” node and the “Set Actor Tick Interval” node just passes through some ticks based on the float time?