Fix Your Timestep Help

Hello I have been reading this article​ about the timestep. I have managed to put it in the game but sprites are stuttering sometimes and I have no idea how to fix it. Here is how my code look like:

The OnFixedUpdate that you see is integrate from that article and deltatime variable is set to 1 / 30:

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment