Well, this doesn't work as well.. Whats wrong? I can't still clearly understand.. Seems that using "time_step", doesn't help in some cases?
camTiltResult = accelerate(camTiltSpeed, -dist.x * 2, 0.2);
camRollResult = accelerate(camRollSpeed, -dist.y * 2, 0.2);
baseAngle.pan = 0;
baseAngle.tilt += ang(camTiltResult - baseAngle.tilt) * 0.25 * time_step;
baseAngle.roll += ang(camRollResult - baseAngle.roll) * 0.25 * time_step;
camera.pan = 0;
camera.tilt = baseAngle.tilt;
camera.roll = baseAngle.roll;
Adding "time_step" into the acceleration doesn't help as well.. What am I missing???