So, basicly, I need to change:
Code:
camRollResult = accelerate(camRollSpeed, -dist.y * 4, 0.8); 

camera.roll = camRollResult;

with this:
Code:
camRollResult = camRollResult + (-dist.y * 1.5 * time_step) - camRollResult * 0.2;
camRollSpeed = camRollSpeed + camRollResult * time_step;

camera.roll = camRollResult;

Right? Anyway, if I change fps_max from 60 to 20 or 500, the results are different.. frown So it's still framerate dependent.

Edit: I tried to add it to camera with "time_step" as well... but still doesn't work.
I simply can't get it! Why the hell I need to use "time_step" already two times?

Last edited by 3run; 02/04/13 08:40. Reason: 12345

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung