Delta time tick?

Hi, so i am facing some problems with delta time with blueprint.
I am trying to move something up using “Set ActorLocation” with mouse position, but the speed of the move is different based on the frames. Here is the simple test blueprint

  • What am my doing wrong? it makes no sense to me.

2 Likes

Is the “Delta seconds” from event tick the same as “Get World Delta Seconds”?

yes

I might just be stupid, but learning haha

So basic what i am doing the picture above, is right?`
it doesn’t feel or seem like so. Tried changeing the max frames and with my blueprint, the move is still way diferrent for each frames like 150, 60, 20 and etc

I had the same problem. Solved like this.

Correct.

As the time taken to render a frame goes up, the amount moved increases…

just to be clear, “Correct” to rkeene?

Yes…

Imagine the frame time is massive, then the amount moved will also be massive, which is what you need…

The video is pretty clear, Mathew’s tutorials are very good for starting developers.
Short summary of how to use Delta:

If you would move an object 10 units over X every tick (frame), someone with 60FPS would experience 600 units per second, while someone with 120 FPS would experience 1200 units a second.
To ensure an object is moved for a fixed amount of units over time, regardless of the FPS, you multiply the amount of units you want by DeltaSeconds.

It’s worth noting that if you set the actor’s location every tick based on your mouse Y value as a multiplier (-1 to 1) that this will end up incredibly jaggy and normally not useful for gameplay. If you print the values of the MouseY to the screen every second you will see what I mean.