This code is framerate dependent.. However, when I add "time_step" in "accelerate", it's still framerate dependent??
Code:
function blah(){
	
	camTiltResult = accelerate(camTiltSpeed, -dist.x * 4, 0.8);
	camRollResult = accelerate(camRollSpeed, -dist.y * 4, 0.8);
	
	camera.tilt = camTiltResult;
	camera.roll = camRollResult;
}

WTF is going on? What should I do, to fix this problem? Adding time_step, makes it even worst..


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