Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
4 votes
Accepted

Coroutine delay isn't consistent on different framerates

The smallest delay that WaitForSeconds can give you is one frame. That's because the way it's implemented is it checks once each frame (after ...
DMGregory's user avatar
  • 135k
2 votes
Accepted

Moving Multiple Objects With Vector2.MoveTowards Not Consistent

Your framerate will very rarely work out such that your code executes at the exact moment the button hits the target. Usually you'll run a little early, and the button hasn't hit the target yet, or a ...
DMGregory's user avatar
  • 135k
1 vote

Adaptation of values from previous constant frame rate to new constant frame rate

First, we know that if we halve the timestep, we have to halve the gravity, so that we still add the same total amount to the speed when we run twice as many iterations. Adjusting the initial speed or ...
DMGregory's user avatar
  • 135k
1 vote
Accepted

How to sync ticks(Frames) between two peers?

If I understand your description correctly, your timeline of events during a join looks something like this... Some things to notice here: The time it takes an update to travel across the network ...
DMGregory's user avatar
  • 135k
1 vote

Can I render at 50fps instead of 60fps, what are the drawbacks?

The drawback of using 50 fps is unless you are running on a variable rate display, there will either be tearing or duplicate frames. Pixel deliberately picked 50 fps, because back when he was writing ...
Mr. Beeblebrox's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible