ScratchStats LogoScratchStats

ScratchStats

Explore Scratch statistics and discover trending projects and creators.

Community

  • Apply for Verified
  • Apply for Reviewer

More

  • Donate
Not affiliated with Scratch.
Back to DogCatPuppyLover's profile

Delta-Time Gravity

DODogCatPuppyLover•Shared January 27, 2023
33
24
392 views
Love/View Ratio: 8.42%
View on ScratchView on TurboWarp

Notes & Credits

This is a way to delta-time frame-by-frame calculation of gravity. I derived this late last night, so if you notice any problems, please tell me. here are the equations: position += (velocity * frameTime) + acceleration * (frameTime * (frameTime - 1)) / 2 velocity += acceleration * frameTime

Project Details

Project ID794686033
Search IndexIndexed (Visible)
CreatedJanuary 27, 2023
Last ModifiedMarch 22, 2025
SharedJanuary 27, 2023
CommentsAllowed