Closed Nadav-01 closed 5 years ago
Instead of assuming frames come at constant intervals, i used the System.currentTimeMillis() function to check how many milliseconds have passed since last frame and update the forces and velocities acordingly.
Instead of assuming frames come at constant intervals, i used the System.currentTimeMillis() function to check how many milliseconds have passed since last frame and update the forces and velocities acordingly.