I have looked up ways to calculate DeltaTime in the past, but the 'solutions' seem to have my program be slightly jittery or not move things correctly. As far as I know, you would calculate it by finding the difference in time between the current and previous frame (Is this correct?). I have seen solutions find out DeltaTime with a fixed frame rate, but that is not what I am looking for.
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- How can I use sed to chain append lines from a text file, add it as a suffix to the text on the same lines numbers on another file, and so on?
- What do "spelling pronunciation" and "~" mean in Wiktionary?
- Dactylic hexameter composition feedback
- When was the last time U.S. Congress overrode a president's veto?
- Replacing Exterior Outlet/Receptacle Covers
- how to shade an region bounded by curves
- Adding comments to a cited paper
- Is it possible for a Mercury-type planet to form in liu of an asteroid belt where one would normally form?
- Are there any general expectations for the outputs of a deterministic process?
- Shimano xtr wh-m959 wheel
- How much storage space do I really have?
- Is possible to discover an ip used by interface, if ip range is not know, maybe using arp?
- Trivialising homogeneous vector bundles over a homogeneous space
- Who gets to choose where a summoned familiar appears?
- What's the point of "I shan’t try to hit two balls" joke?
- Does Hebrew really have 7 words for gold?
- What is the convention for slurs and word extensions when chorus is singing on sustained vowel or consonant sound?
- Does Śaṅkara ever treat Viṣṇu as ontologically distinct from other deities or exempt from māyā?
- How to change instance color based on rotation in Geometry Nodes
- Can poetry be substantively conducive to philosophy?
- Create Frame Widget with Pygame
- Rebuild Thule Strolling Kit
- Longitudinal waves in a tin can telephone
- Trying to install floating sink but plumbing between studs prevents usual wood backing. What are my options?
lang-c
SDL_GetTicksorSDL_GetPerformanceCounter&SDL_GetPerformanceFrequency, both mentioned at How to measure time interval (different languages). The latter can be more precise, and more precise can mean less stable frame steps. So, by "fixed frame rate", do you mean the approach from the infamous Fix Your Timestep! or are you doing something else? And by jitter do you mean some frame the game advances more, or something else? \$\endgroup\$