Thanks Raiden! This is what im looking for! One thing...when the speed is increased a lot the model is 'shaking'

i tryed this but it doesnt seem to work:

Code:
 
if(face_trn.pan < -5)
{
my.pan += face_speed * time;
}
if(face_trn.pan > 5)
{
my.pan -= face_speed * time;
}



does anyone know how to fix this?