Hi everybody, another day, another question smile

There were already similar questions on this forum, but I didn't find a real solution. So I will try to ask here.

I have tried to make the FPS camera movement more smoother. If you move the mouse slowly, it is smooth, but if you move the mouse faster to look around, it is not that smooth, often also jittery or it is stuttering. Maybe this is the wrong word for it. It looks like that it is not smooth. FPS is 60. So that is not the problem. And the camera movement instructions are in a proc late function.

I think everybody knows that code already, because it seems to be standard in 3dgs:

Quote:

camera.pan -= mouse_force.x * mousesensitivity;
camera.tilt -= mouse_force.y * mousesensitivity;


I have also tried different ways:

Quote:

camera.pan -= mouse_force.x * mousesensitivity * time_step;
camera.tilt -= mouse_force.y * mousesensitivity * time_step;


or

Quote:

camera.pan -= mouse_force.x * maxv(mousesensitivity, 0.001);
camera.tilt -= mouse_force.y * maxv(mousesensitivity, 0.001);


also with mickey. But it was not the right thing.
The result were better with mouse_force but not perfect.

So maybe anyone else has already found out a better way, or an idea to make the movement of the FPS cam smoother.

Thanks.