followState64
fn
double followState64(ref double weight, bool target, double speed)Moves weight by ref toward the target state by speed and returns the updated value.